dwolla_v2 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a90c8e8f1c4e7d001065fdce9b878055be936208
4
- data.tar.gz: fd51a4c855ec99d92377377f68c03d05a948a4dc
3
+ metadata.gz: 233f41dcb256ee7e2e6f29182e1e3192b8f6be65
4
+ data.tar.gz: ae60a2d57d9cd554c3f111c6fbf69e3f5edb986d
5
5
  SHA512:
6
- metadata.gz: 3d3e88466f5a043ad48dece76d937601f8cd45d537c9cc67791b793e75422aee73999c62a9d022aa7d52bfdce564c4b9905143440ac0c15f21077eadcb61def0
7
- data.tar.gz: 181cf5dfd28d31dad48606f0ddd0018c5ab5855c5fcad21b7bf6e307f0b355959a361b722cf554be0791072568d423f4bd9b492684fb91e1715ad55c97eb7ed6
6
+ metadata.gz: '08ba86fbc3bbaccaf27f22c616862a9c5fdf7e738ef6fb415d91cb082fb6449249fad8b01725391d912339fb0d518bb999974f32d8fc6305b30b8478aef7d6e4'
7
+ data.tar.gz: a614b4d58d5c5706f107128761796f43b8217814acefc9147300e4d6cd404e2aee473c2a4db4d8dd882ba89ef42b20f62cd1a1c6a2a04f6c483ae0f8f1e4341d
data/README.md CHANGED
@@ -11,7 +11,7 @@ Dwolla V2 Ruby client. For the V1 Ruby client see [Dwolla/dwolla-ruby](https://g
11
11
  Add this line to your application's Gemfile:
12
12
 
13
13
  ```ruby
14
- gem 'dwolla_v2', '~> 1.1'
14
+ gem 'dwolla_v2', '~> 1.2'
15
15
  ```
16
16
 
17
17
  And then execute:
@@ -27,9 +27,9 @@ Or install it yourself as:
27
27
  ### Basic usage
28
28
 
29
29
  Create a client using your application's consumer key and secret found on the applications page
30
- ([UAT][apuat], [Production][approd]).
30
+ ([Sandbox][apsandbox], [Production][approd]).
31
31
 
32
- [apuat]: https://uat.dwolla.com/applications
32
+ [apsandbox]: https://sandbox.dwolla.com/applications
33
33
  [approd]: https://www.dwolla.com/applications
34
34
 
35
35
  ```ruby
@@ -120,7 +120,7 @@ to an account include `customers`, `funding-sources`, `documents`, `mass-payment
120
120
  `transfers`, and `on-demand-authorizations`.
121
121
 
122
122
  There are two ways to get an account token. One is by generating a token at
123
- https://uat.dwolla.com/applications (sandbox) or https://www.dwolla.com/applications (production).
123
+ https://sandbox.dwolla.com/applications (Sandbox) or https://www.dwolla.com/applications (Production).
124
124
 
125
125
  You can instantiate a generated token by doing the following:
126
126
 
@@ -241,7 +241,7 @@ Requests return a `DwollaV2::Response`.
241
241
 
242
242
  ```ruby
243
243
  res = token.get "/"
244
- # => #<DwollaV2::Response status=200 headers={"server"=>"cloudflare-nginx", "date"=>"Mon, 28 Mar 2016 15:30:23 GMT", "content-type"=>"application/vnd.dwolla.v1.hal+json; charset=UTF-8", "content-length"=>"150", "connection"=>"close", "set-cookie"=>"__cfduid=d9dcd0f586c166d36cbd45b992bdaa11b1459179023; expires=Tue, 28-Mar-17 15:30:23 GMT; path=/; domain=.dwolla.com; HttpOnly", "x-request-id"=>"69a4e612-5dae-4c52-a6a0-2f921e34a88a", "cf-ray"=>"28ac1f81875941e3-MSP"} {"_links"=>{"events"=>{"href"=>"https://api-uat.dwolla.com/events"}, "webhook-subscriptions"=>{"href"=>"https://api-uat.dwolla.com/webhook-subscriptions"}}}>
244
+ # => #<DwollaV2::Response status=200 headers={"server"=>"cloudflare-nginx", "date"=>"Mon, 28 Mar 2016 15:30:23 GMT", "content-type"=>"application/vnd.dwolla.v1.hal+json; charset=UTF-8", "content-length"=>"150", "connection"=>"close", "set-cookie"=>"__cfduid=d9dcd0f586c166d36cbd45b992bdaa11b1459179023; expires=Tue, 28-Mar-17 15:30:23 GMT; path=/; domain=.dwolla.com; HttpOnly", "x-request-id"=>"69a4e612-5dae-4c52-a6a0-2f921e34a88a", "cf-ray"=>"28ac1f81875941e3-MSP"} {"_links"=>{"events"=>{"href"=>"https://api-sandbox.dwolla.com/events"}, "webhook-subscriptions"=>{"href"=>"https://api-sandbox.dwolla.com/webhook-subscriptions"}}}>
245
245
 
246
246
  res.status
247
247
  # => 200
@@ -250,7 +250,7 @@ res.headers
250
250
  # => {"server"=>"cloudflare-nginx", "date"=>"Mon, 28 Mar 2016 15:30:23 GMT", "content-type"=>"application/vnd.dwolla.v1.hal+json; charset=UTF-8", "content-length"=>"150", "connection"=>"close", "set-cookie"=>"__cfduid=d9dcd0f586c166d36cbd45b992bdaa11b1459179023; expires=Tue, 28-Mar-17 15:30:23 GMT; path=/; domain=.dwolla.com; HttpOnly", "x-request-id"=>"69a4e612-5dae-4c52-a6a0-2f921e34a88a", "cf-ray"=>"28ac1f81875941e3-MSP"}
251
251
 
252
252
  res._links.events.href
253
- # => "https://api-uat.dwolla.com/events"
253
+ # => "https://api-sandbox.dwolla.com/events"
254
254
  ```
255
255
 
256
256
  ## Errors
@@ -334,6 +334,7 @@ The gem is available as open source under the terms of the [MIT License](https:/
334
334
 
335
335
  ## Changelog
336
336
 
337
+ - **1.2.1** - Update sandbox URLs from sandbox => sandbox.
337
338
  - **1.2.0** - Refer to Client :id as :key in docs/public APIs for consistency.
338
339
  - **1.1.2** - Add support for `verified_account` and `dwolla_landing` auth flags.
339
340
  - **1.1.1** - Add `TooManyRequestsError` and `ConflictError` classes.
@@ -7,9 +7,9 @@ module DwollaV2
7
7
  :api_url => "https://api.dwolla.com"
8
8
  },
9
9
  :sandbox => {
10
- :auth_url => "https://uat.dwolla.com/oauth/v2/authenticate",
11
- :token_url => "https://uat.dwolla.com/oauth/v2/token",
12
- :api_url => "https://api-uat.dwolla.com"
10
+ :auth_url => "https://sandbox.dwolla.com/oauth/v2/authenticate",
11
+ :token_url => "https://sandbox.dwolla.com/oauth/v2/token",
12
+ :api_url => "https://api-sandbox.dwolla.com"
13
13
  }
14
14
  }
15
15
 
@@ -1,3 +1,3 @@
1
1
  module DwollaV2
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dwolla_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Ausman
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-03 00:00:00.000000000 Z
11
+ date: 2017-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler