dwolla-ruby 2.6.5 → 2.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -1
- data/lib/dwolla/oauth.rb +3 -1
- data/lib/dwolla/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3a407d20fe9792d058196bc9cf488123c8fb96c4
|
|
4
|
+
data.tar.gz: 4a02484dca6a9a56cac21ff3725d0760274da90f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a89c90a9a8db9d6991242731857c30ba852b54dbabda858642d40a360613b4087cc6afac1bbecf1b96ea94d4738f994b602f9637589b53f86613f8b98da8445c
|
|
7
|
+
data.tar.gz: d6bc8183bc7d39c640ab59294e6ba10a317403f49dd2a65bd3726c618c5c31d5154f040715e44113e3a140eebba433c6474c2b49b0be547440d752172175c2c2
|
data/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
Official Ruby wrapper for Dwolla's API
|
|
5
5
|
|
|
6
6
|
## Version
|
|
7
|
-
2.6.
|
|
7
|
+
2.6.6
|
|
8
8
|
|
|
9
9
|
[](https://travis-ci.org/Dwolla/dwolla-ruby)
|
|
10
10
|
|
|
@@ -50,6 +50,9 @@ Dwolla::Contacts.get(nil, "your_token")
|
|
|
50
50
|
|
|
51
51
|
## Changelog
|
|
52
52
|
|
|
53
|
+
2.6.6
|
|
54
|
+
* Added new `verified_account` parameter to authorization URL.
|
|
55
|
+
|
|
53
56
|
2.6.5
|
|
54
57
|
* Added new catalog endpoint to OAuth module + unit tests and examples.
|
|
55
58
|
* Added new scheduled transaction endpoints to Transactions module + unit tests and examples.
|
data/lib/dwolla/oauth.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
module Dwolla
|
|
2
2
|
class OAuth
|
|
3
|
-
def self.get_auth_url(redirect_uri=nil, scope=Dwolla::scope)
|
|
3
|
+
def self.get_auth_url(redirect_uri=nil, scope=Dwolla::scope, verified_account=false)
|
|
4
4
|
raise AuthenticationError.new('No Api Key Provided.') unless Dwolla::api_key
|
|
5
5
|
|
|
6
6
|
params = {
|
|
@@ -9,6 +9,8 @@ module Dwolla
|
|
|
9
9
|
:client_id => Dwolla::api_key
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
+
if verified_account then params[:verified_account] = true end
|
|
13
|
+
|
|
12
14
|
params['redirect_uri'] = redirect_uri unless redirect_uri.nil?
|
|
13
15
|
|
|
14
16
|
uri = Addressable::URI.new
|
data/lib/dwolla/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dwolla-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.6.
|
|
4
|
+
version: 2.6.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Schonfeld
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-04-
|
|
11
|
+
date: 2015-04-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rest-client
|