Skip to content

Commit 0912dee

Browse files
authored
Version 2.0.3 (#36)
1 parent e3b273e commit 0912dee

File tree

2 files changed

+51
-50
lines changed

2 files changed

+51
-50
lines changed

README.md

+50-49
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ application_token = $dwolla.auths.client
105105
# => #<DwollaV2::Token client=#<DwollaV2::Client key="..." secret="..." environment=:sandbox> access_token="..." expires_in=3600 scope="...">
106106
```
107107

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`._
110110

111111
### Initializing a pre-existing access token:
112112

@@ -212,34 +212,34 @@ end
212212

213213
### `DwollaV2::Error` subclasses:
214214

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`
243243

244244
## Sample code
245245

@@ -266,26 +266,27 @@ The gem is available as open source under the terms of the [MIT License](https:/
266266

267267
## Changelog
268268

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
273274
[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
289290

290291
[response-conflicts]: https://discuss.dwolla.com/t/document-change-or-more-clarifiation/3964
291292
[public-suffix]: https://github.com/Dwolla/dwolla-v2-ruby/pull/18#discussion_r108028135

lib/dwolla_v2/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module DwollaV2
2-
VERSION = "2.0.2"
2+
VERSION = "2.0.3"
33
end

0 commit comments

Comments
 (0)