Skip to content

Commit

Permalink
Updates README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cakejelly committed Feb 4, 2016
1 parent 97cbfdd commit 3c7d83b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MIGRATING.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ In `0.3.x`, each function returned a Hash containing a parsed JSON representatio

`0.4` introduced `Resource` - A base class used to encapsulate each JSON response.

`Resource` can allow attributes to be accessed with dot notation. Alternatively, you can return a Hashed version of the resource using `Resource.attributes`. For example:
`Resource` can allow attributes to be accessed by calling the attribute name on the instance. Alternatively, you can return a Hashed version of the resource using `Resource.attributes`. For example:

```ruby

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Or install it yourself as:
## Usage

### Resources
All client methods return `Resource` objects or a collection of `Resource` objects. Every attribute from a resource can be accessed calling attribute methods:
All client methods return `Resource` objects or a collection of `Resource` objects. Every attribute from a resource can be accessed by calling attribute methods:

```ruby
conversation = platform.conversations.find("fb2f3a48-523d-4449-a57f-c6651fc6612c")
Expand Down

0 comments on commit 3c7d83b

Please sign in to comment.