README.md in pager_duty-connection-1.2.0 vs README.md in pager_duty-connection-1.3.0
- old
+ new
@@ -49,10 +49,10 @@
```ruby
# setup the connection with API token
pagerduty = PagerDuty::Connection.new(token)
# setup the connection with OAuth2 token
-pagerduty = PagerDuty::Connection.new(token, :Bearer)
+pagerduty = PagerDuty::Connection.new(token, token_type: :Bearer)
# 4 main methods: `get`, `post`, `put`, and `delete`:
response = pagerduty.get('some/relative/path', params)
response = pagerduty.post('some/relative/path', params)