README.md in tops_connect-0.1.4 vs README.md in tops_connect-0.2.0
- old
+ new
@@ -23,18 +23,15 @@
```ruby
TopsConnect.configure do |config|
config.subscription_key = '0123456789abcdef0123456789abcdef'
config.client_id = '00000000-1111-2222-3333-444444444444'
config.software_key = '55555555-6666-7777-8888-999999999999'
- config.community_api_key = 'AAAAAAAA-BBBB-CCCC-DDDD-EEEEEEEEEEEE'
config.zone = :broad
end
-tops = TopsConnect::Client.new
+tops = TopsConnect::Client.new(6, 'AAAAAAAA-BBBB-CCCC-DDDD-EEEEEEEEEEEE')
-tops.communities.each do |community|
- puts community['Name']
-end
+puts "Loaded #{tops.community.name}"
```
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.