README.md in artemis_api-0.2.0 vs README.md in artemis_api-0.2.1
- old
+ new
@@ -5,10 +5,16 @@
## Installation
Add this line to your application's Gemfile:
```ruby
+gem 'artemis_api'
+```
+
+If you want to ensure the most up to date version, you can also use the gem straight from the repository:
+
+```ruby
gem 'artemis_api', :git => 'https://github.com/artemis-ag/artemis_api'
```
And then execute:
@@ -164,9 +170,15 @@
subject: 'completions',
destination: 'https://test-app-url.artemisag.io/v1/webhook',
client: client)
facility.create_subscription(subject: 'completions', destination: 'https://test-app-url.artemisag.io/v1/webhook')
+```
+
+You can also delete one of your own Subscriptions. Trying to delete a Subscription that isn't associated with your user account will fail.
+
+```ruby
+ArtemisApi::Subscription.delete(id: 1, facility_id: 2, client: client)
```
## 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.