flowcommerce 0.1.0 → 0.1.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 +4 -4
- data/lib/flow_commerce/flow_api_v0_client.rb +5 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2e4f8a2eecb2422aa8281aab19cd86451e66987b
|
|
4
|
+
data.tar.gz: 9a060a33b4dc850b131a1f84601b6ef032d45f0a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1b2c61bef39e38d092523ff09813d88d0340b53a495bfe4d0e27db70da391ed58d9442b03067277d9a14677cf047db161eb94e054c10b1ca0ce3d9b9baec068d
|
|
7
|
+
data.tar.gz: 2efd3b50bcacf839eb69cdd571f8a935068e02e6f96422af3bbb679a96b5be044df76e3041668b4f7dba412055063b5b2122b434715db8b7591a25c19f0ae899
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Generated by apidoc - http://www.apidoc.me
|
|
2
2
|
# Service version: 0.1.77
|
|
3
|
-
# apidoc:0.11.49 http://www.apidoc.me/flow/api/0.2.
|
|
3
|
+
# apidoc:0.11.49 http://www.apidoc.me/flow/api/0.2.9/ruby_client
|
|
4
4
|
|
|
5
5
|
require 'cgi'
|
|
6
6
|
require 'net/http'
|
|
@@ -25,7 +25,7 @@ module Io
|
|
|
25
25
|
|
|
26
26
|
BASE_URL = 'https://api.flow.io' unless defined?(Constants::BASE_URL)
|
|
27
27
|
NAMESPACE = 'io.flow.v0' unless defined?(Constants::NAMESPACE)
|
|
28
|
-
USER_AGENT = 'apidoc:0.11.49 http://www.apidoc.me/flow/api/0.2.
|
|
28
|
+
USER_AGENT = 'apidoc:0.11.49 http://www.apidoc.me/flow/api/0.2.9/ruby_client' unless defined?(Constants::USER_AGENT)
|
|
29
29
|
VERSION = '0.1.77' unless defined?(Constants::VERSION)
|
|
30
30
|
VERSION_MAJOR = 0 unless defined?(VERSION_MAJOR)
|
|
31
31
|
|
|
@@ -8533,7 +8533,7 @@ module Io
|
|
|
8533
8533
|
|
|
8534
8534
|
class CardForm
|
|
8535
8535
|
|
|
8536
|
-
attr_reader :number, :cipher, :expiration_month, :expiration_year, :name, :cvv, :address, :challenge_text, :challenge_cipher
|
|
8536
|
+
attr_reader :number, :cipher, :expiration_month, :expiration_year, :name, :cvv, :address, :ip, :challenge_text, :challenge_cipher
|
|
8537
8537
|
|
|
8538
8538
|
def initialize(incoming={})
|
|
8539
8539
|
opts = HttpClient::Helper.symbolize_keys(incoming)
|
|
@@ -8545,6 +8545,7 @@ module Io
|
|
|
8545
8545
|
@name = HttpClient::Preconditions.assert_class('name', opts.delete(:name), String)
|
|
8546
8546
|
@cvv = HttpClient::Preconditions.assert_class('cvv', opts.delete(:cvv), String)
|
|
8547
8547
|
@address = (x = opts.delete(:address); x.nil? ? nil : (x = x; x.is_a?(::Io::Flow::V0::Models::Address) ? x : ::Io::Flow::V0::Models::Address.new(x)))
|
|
8548
|
+
@ip = (x = opts.delete(:ip); x.nil? ? nil : HttpClient::Preconditions.assert_class('ip', x, String))
|
|
8548
8549
|
@challenge_text = (x = opts.delete(:challenge_text); x.nil? ? nil : HttpClient::Preconditions.assert_class('challenge_text', x, String))
|
|
8549
8550
|
@challenge_cipher = (x = opts.delete(:challenge_cipher); x.nil? ? nil : HttpClient::Preconditions.assert_class('challenge_cipher', x, String))
|
|
8550
8551
|
end
|
|
@@ -8566,6 +8567,7 @@ module Io
|
|
|
8566
8567
|
:name => name,
|
|
8567
8568
|
:cvv => cvv,
|
|
8568
8569
|
:address => address.nil? ? nil : address.to_hash,
|
|
8570
|
+
:ip => ip,
|
|
8569
8571
|
:challenge_text => challenge_text,
|
|
8570
8572
|
:challenge_cipher => challenge_cipher
|
|
8571
8573
|
}
|