Skip to content

Commit

Permalink
Fix readme (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalvijay committed Jun 20, 2017
1 parent 99df4f8 commit d5bcff6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Or, If you want to install globally
gem install salesforce-orm
```

This Gem internally use [Restforce](https://github.com/ejholmes/restforce), So you have configure it
This Gem internally use [Restforce](https://github.com/ejholmes/restforce), So you have to configure it

There are 2 options to configure ([Restforce config](https://github.com/ejholmes/restforce#initialization))

Expand Down Expand Up @@ -109,10 +109,12 @@ Default data type map for `SampleObject`
If you wanna change the data type of some fields

```
{
field_one: :boolean,
field_two: :integer
class SampleObject < SalesforceOrm::ObjectBase
self.data_type_map = {
created_at: :datetime,
updated_at: :datetime
}
end
```

**NOTE: It's mandatory to add data type map for boolean fields**
Expand Down

0 comments on commit d5bcff6

Please sign in to comment.