@@ -105,8 +105,8 @@ application_token = $dwolla.auths.client
105
105
# => #<DwollaV2::Token client=#<DwollaV2::Client key="..." secret="..." environment=:sandbox> access_token="..." expires_in=3600 scope="...">
106
106
```
107
107
108
- * Application tokens do not include a ` refresh_token ` . When an application token expires, generate
109
- a new one using ` $dwolla.auths.client ` .*
108
+ _ Application tokens do not include a ` refresh_token ` . When an application token expires, generate
109
+ a new one using ` $dwolla.auths.client ` ._
110
110
111
111
### Initializing a pre-existing access token:
112
112
@@ -212,34 +212,34 @@ end
212
212
213
213
### ` DwollaV2::Error ` subclasses:
214
214
215
- * See https://docsv2.dwolla.com/#errors for more info.*
216
-
217
- - ` DwollaV2::AccessDeniedError `
218
- - ` DwollaV2::InvalidCredentialsError `
219
- - ` DwollaV2::NotFoundError `
220
- - ` DwollaV2::BadRequestError `
221
- - ` DwollaV2::InvalidGrantError `
222
- - ` DwollaV2::RequestTimeoutError `
223
- - ` DwollaV2::ExpiredAccessTokenError `
224
- - ` DwollaV2::InvalidRequestError `
225
- - ` DwollaV2::ServerError `
226
- - ` DwollaV2::ForbiddenError `
227
- - ` DwollaV2::InvalidResourceStateError `
228
- - ` DwollaV2::TemporarilyUnavailableError `
229
- - ` DwollaV2::InvalidAccessTokenError `
230
- - ` DwollaV2::InvalidScopeError `
231
- - ` DwollaV2::UnauthorizedClientError `
232
- - ` DwollaV2::InvalidAccountStatusError `
233
- - ` DwollaV2::InvalidScopesError `
234
- - ` DwollaV2::UnsupportedGrantTypeError `
235
- - ` DwollaV2::InvalidApplicationStatusError `
236
- - ` DwollaV2::InvalidVersionError `
237
- - ` DwollaV2::UnsupportedResponseTypeError `
238
- - ` DwollaV2::InvalidClientError `
239
- - ` DwollaV2::MethodNotAllowedError `
240
- - ` DwollaV2::ValidationError `
241
- - ` DwollaV2::TooManyRequestsError `
242
- - ` DwollaV2::ConflictError `
215
+ _ See https://docsv2.dwolla.com/#errors for more info._
216
+
217
+ * ` DwollaV2::AccessDeniedError `
218
+ * ` DwollaV2::InvalidCredentialsError `
219
+ * ` DwollaV2::NotFoundError `
220
+ * ` DwollaV2::BadRequestError `
221
+ * ` DwollaV2::InvalidGrantError `
222
+ * ` DwollaV2::RequestTimeoutError `
223
+ * ` DwollaV2::ExpiredAccessTokenError `
224
+ * ` DwollaV2::InvalidRequestError `
225
+ * ` DwollaV2::ServerError `
226
+ * ` DwollaV2::ForbiddenError `
227
+ * ` DwollaV2::InvalidResourceStateError `
228
+ * ` DwollaV2::TemporarilyUnavailableError `
229
+ * ` DwollaV2::InvalidAccessTokenError `
230
+ * ` DwollaV2::InvalidScopeError `
231
+ * ` DwollaV2::UnauthorizedClientError `
232
+ * ` DwollaV2::InvalidAccountStatusError `
233
+ * ` DwollaV2::InvalidScopesError `
234
+ * ` DwollaV2::UnsupportedGrantTypeError `
235
+ * ` DwollaV2::InvalidApplicationStatusError `
236
+ * ` DwollaV2::InvalidVersionError `
237
+ * ` DwollaV2::UnsupportedResponseTypeError `
238
+ * ` DwollaV2::InvalidClientError `
239
+ * ` DwollaV2::MethodNotAllowedError `
240
+ * ` DwollaV2::ValidationError `
241
+ * ` DwollaV2::TooManyRequestsError `
242
+ * ` DwollaV2::ConflictError `
243
243
244
244
## Sample code
245
245
@@ -266,26 +266,27 @@ The gem is available as open source under the terms of the [MIT License](https:/
266
266
267
267
## Changelog
268
268
269
- - ** 2.0.2** - Fix bug in [ #30 ] ( https://github.com/Dwolla/dwolla-v2-ruby/pull/30 ) (Thanks again @sobrinho !)
270
- - ** 2.0.1** - Fix bugs in [ #27 ] ( https://github.com/Dwolla/dwolla-v2-ruby/pull/27 ) + [ #28 ] ( https://github.com/Dwolla/dwolla-v2-ruby/pull/28 ) (Thanks @sobrinho !)
271
- - ** 2.0.0**
272
- - Rename ` DwollaV2::Response ` ` #status ` => ` #response_status ` , ` #headers ` => ` #response_headers ` to prevent
269
+ * ** 2.0.3** - Add ` DuplicateResourceError ` [ #34 ] ( https://github.com/Dwolla/dwolla-v2-ruby/pull/34 ) (Thanks @javierjulio !)
270
+ * ** 2.0.2** - Fix bug in [ #30 ] ( https://github.com/Dwolla/dwolla-v2-ruby/pull/30 ) (Thanks again @sobrinho !)
271
+ * ** 2.0.1** - Fix bugs in [ #27 ] ( https://github.com/Dwolla/dwolla-v2-ruby/pull/27 ) + [ #28 ] ( https://github.com/Dwolla/dwolla-v2-ruby/pull/28 ) (Thanks @sobrinho !)
272
+ * ** 2.0.0**
273
+ * Rename ` DwollaV2::Response ` ` #status ` => ` #response_status ` , ` #headers ` => ` #response_headers ` to prevent
273
274
[ conflicts with response body properties] [ response-conflicts ] .
274
- - Remove support for Ruby versions < 2 ([ Bump public_suffix dependency version] [ public-suffix ] ).
275
- - ** 1.2.3** - Implement ` #empty? ` on ` DwollaV2::Token ` to allow it to be passed to ActiveRecord constructor.
276
- - ** 1.2.2** - Strip domain from URLs provided to ` token.* ` methods.
277
- - ** 1.2.1** - Update sandbox URLs from uat => sandbox.
278
- - ** 1.2.0** - Refer to Client : id as : key in docs/public APIs for consistency.
279
- - ** 1.1.2** - Add support for ` verified_account ` and ` dwolla_landing ` auth flags.
280
- - ** 1.1.1** - Add ` TooManyRequestsError ` and ` ConflictError ` classes.
281
- - ** 1.1.0** - Support setting headers on a per-request basis.
282
- - ** 1.0.1** - Set user agent header.
283
- - ** 1.0.0** - Refactor ` Error ` class to be more like response, add ability to access keys using methods.
284
- - ** 0.4.0** - Refactor and document how ` DwollaV2::Response ` works
285
- - ** 0.3.1** - better ` DwollaV2::Error ` error messages
286
- - ** 0.3.0** - ISO8601 values in response body are converted to ` Time ` objects
287
- - ** 0.2.0** - Works with ` attr_encrypted `
288
- - ** 0.1.1** - Handle 500 error with HTML response body when requesting a token
275
+ * Remove support for Ruby versions < 2 ([ Bump public_suffix dependency version] [ public-suffix ] ).
276
+ * ** 1.2.3** - Implement ` #empty? ` on ` DwollaV2::Token ` to allow it to be passed to ActiveRecord constructor.
277
+ * ** 1.2.2** - Strip domain from URLs provided to ` token.* ` methods.
278
+ * ** 1.2.1** - Update sandbox URLs from uat => sandbox.
279
+ * ** 1.2.0** - Refer to Client : id as : key in docs/public APIs for consistency.
280
+ * ** 1.1.2** - Add support for ` verified_account ` and ` dwolla_landing ` auth flags.
281
+ * ** 1.1.1** - Add ` TooManyRequestsError ` and ` ConflictError ` classes.
282
+ * ** 1.1.0** - Support setting headers on a per-request basis.
283
+ * ** 1.0.1** - Set user agent header.
284
+ * ** 1.0.0** - Refactor ` Error ` class to be more like response, add ability to access keys using methods.
285
+ * ** 0.4.0** - Refactor and document how ` DwollaV2::Response ` works
286
+ * ** 0.3.1** - better ` DwollaV2::Error ` error messages
287
+ * ** 0.3.0** - ISO8601 values in response body are converted to ` Time ` objects
288
+ * ** 0.2.0** - Works with ` attr_encrypted `
289
+ * ** 0.1.1** - Handle 500 error with HTML response body when requesting a token
289
290
290
291
[ response-conflicts ] : https://discuss.dwolla.com/t/document-change-or-more-clarifiation/3964
291
292
[ public-suffix ] : https://github.com/Dwolla/dwolla-v2-ruby/pull/18#discussion_r108028135
0 commit comments