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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9176fa57c8caecbc6e02a750078ce8f83b08a2a5
4
- data.tar.gz: 7f26451d6ae7a23adf719c488d7ecdeec3e9bb01
3
+ metadata.gz: 3a407d20fe9792d058196bc9cf488123c8fb96c4
4
+ data.tar.gz: 4a02484dca6a9a56cac21ff3725d0760274da90f
5
5
  SHA512:
6
- metadata.gz: 31953951b18d0bf35572151175d97591141d3c84835c4d7e4f37f97f1ce7fea63dd37e83add57a8fd8962de4b586acee8a33cdcf75a2aed07f4cc4db7225a98a
7
- data.tar.gz: 383dd7c0e2664a14847e26b6abf61d436d69f60ea4aef422d84752f37500deb7869628b8ecf0fb107a9169b55b860fe4bb11beb64af7f693cc03a8d166a6d201
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.5
7
+ 2.6.6
8
8
 
9
9
  [![Build Status](https://travis-ci.org/Dwolla/dwolla-ruby.svg?branch=master)](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
@@ -1,3 +1,3 @@
1
1
  module Dwolla
2
- VERSION = "2.6.5"
2
+ VERSION = "2.6.6"
3
3
  end
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.5
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-28 00:00:00.000000000 Z
11
+ date: 2015-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client