dwolla-ruby 2.5.0 → 2.5.1
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 +8 -8
- data/README.md +7 -2
- data/lib/dwolla/offsite_gateway.rb +4 -0
- data/lib/dwolla/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
YmFiNmQ1NWM4OGQxZWE0YjBhMTBmMzRmNDRlNGFhY2YyZGZjNWM1Yw==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
YWE4YjYyNjliYTMwMTczNzE3ZjNkMDM3Y2U4MjY4MDg5MDJmYTNiNQ==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
ZWYxYmU5MjU4MTg3M2FkNzE0OTllYTgzNzgyMjhkZDVmNDhlMzJiOWVmZDk4
|
|
10
|
+
OTUxZTlkODhhNGI1N2VjNjI4NjlkYWI1MmI2YjFmNTI1ODEzNDIzNDMwZjlj
|
|
11
|
+
ODY0OWM4MTdlOWQ5YWM1MzA5NzhhMzI1NmIzMjg5NTAwOTcxMWE=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
Y2VmMzFiYjkwZGI2NTdmY2ZhYzRjZDlkMmE3OGY1YjM0YjNiMGU3MzFmZGFj
|
|
14
|
+
MGE3MmQxY2ZiOGViNzk4NTBiNDE5NDkwMjlhN2VkMGVlOGFiNGJhMzQ4MjIx
|
|
15
|
+
M2JkZTkzYjE1NzQzMTNjNDkxNWYxODdjMTdkMmNhOGM5M2E1Njk=
|
data/README.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
# dwolla-ruby
|
|
1
|
+
# dwolla-ruby
|
|
2
|
+
Official Ruby wrapper for Dwolla's API
|
|
2
3
|
|
|
3
4
|
## Version
|
|
4
|
-
2.5.
|
|
5
|
+
2.5.1
|
|
5
6
|
|
|
6
7
|
## Requirements
|
|
7
8
|
- [Ruby](http://www.ruby-lang.org/)
|
|
@@ -31,6 +32,10 @@ This repo includes various usage examples, including:
|
|
|
31
32
|
|
|
32
33
|
## Changelog
|
|
33
34
|
|
|
35
|
+
2.5.1
|
|
36
|
+
|
|
37
|
+
* Add the 'additionalFundingSources' param to the offsite gateway
|
|
38
|
+
|
|
34
39
|
2.5.0
|
|
35
40
|
|
|
36
41
|
* Add refund API endpoint
|
|
@@ -8,6 +8,7 @@ module Dwolla
|
|
|
8
8
|
@facilitator_amount = nil
|
|
9
9
|
@test_mode = false
|
|
10
10
|
@allow_funding_sources = true
|
|
11
|
+
@additional_funding_sources = true
|
|
11
12
|
@order_id = nil
|
|
12
13
|
|
|
13
14
|
def self.clear_session
|
|
@@ -19,6 +20,7 @@ module Dwolla
|
|
|
19
20
|
@facilitator_amount = nil
|
|
20
21
|
@test_mode = false
|
|
21
22
|
@allow_funding_sources = true
|
|
23
|
+
@additional_funding_sources = true
|
|
22
24
|
@order_id = nil
|
|
23
25
|
end
|
|
24
26
|
|
|
@@ -31,6 +33,7 @@ module Dwolla
|
|
|
31
33
|
attr_writer :callback
|
|
32
34
|
attr_writer :test_mode
|
|
33
35
|
attr_writer :allow_funding_sources
|
|
36
|
+
attr_writer :additional_funding_sources
|
|
34
37
|
attr_writer :facilitator_amount
|
|
35
38
|
end
|
|
36
39
|
|
|
@@ -63,6 +66,7 @@ module Dwolla
|
|
|
63
66
|
:key => Dwolla::api_key,
|
|
64
67
|
:secret => Dwolla::api_secret,
|
|
65
68
|
:allowFundingSources => @allow_funding_sources,
|
|
69
|
+
:additionalFundingSources => @additional_funding_sources,
|
|
66
70
|
:test => @test_mode,
|
|
67
71
|
:callback => @callback,
|
|
68
72
|
:redirect => @redirect,
|
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.5.
|
|
4
|
+
version: 2.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Schonfeld
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-
|
|
11
|
+
date: 2013-12-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rest-client
|