README.md in inbox-0.12.0 vs README.md in inbox-0.13.0
- old
+ new
@@ -108,10 +108,10 @@
````ruby
# Query the status of every account linked to the app
inbox = Inbox::API.new(config.inbox_app_id, config.inbox_app_secret, inbox_token)
accounts = inbox.accounts
- accounts.map { |a| a.account_id, a.sync_state } # Available fields are: account_id, sync_state, trial and trial_expires. See lib/account.rb for more details.
+ accounts.map { |a| [a.account_id, a.sync_state] } # Available fields are: account_id, sync_state, trial and trial_expires. See lib/account.rb for more details.
```
### Fetching Namespaces
```ruby