flowcommerce 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/flow_commerce/flow_api_v0_client.rb +6 -6
- 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: 95fb117f02a2f7f0bfbd0624298cec59de13b4bd
|
4
|
+
data.tar.gz: 33cdaf6e99b50906562d9c0ff886834680f398a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75ec30088fce5dde0489ef3a443c62564f82ff29385bef4204cee3a2444500675d8b6f144d5e7fa71a18926bdc007354885cad388c1c0958a694671015a9fd38
|
7
|
+
data.tar.gz: be1ff1cf4ddf635f5998b6c27c2b580e4732c066f6d5b61cd50f45911ee2377285717c5c9d3b5fd71b539681d4c61c922b038a4fad3c2bf6bb6dece77fb58fdd
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# Generated by apidoc - http://www.apidoc.me
|
2
2
|
# Service version: 0.2.87
|
3
|
-
# apidoc:0.11.76 http://www.apidoc.me/flow/api/0.2.
|
3
|
+
# apidoc:0.11.76 http://www.apidoc.me/flow/api/0.2.93/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.76 http://www.apidoc.me/flow/api/0.2.
|
28
|
+
USER_AGENT = 'apidoc:0.11.76 http://www.apidoc.me/flow/api/0.2.93/ruby_client' unless defined?(Constants::USER_AGENT)
|
29
29
|
VERSION = '0.2.87' unless defined?(Constants::VERSION)
|
30
30
|
VERSION_MAJOR = 0 unless defined?(VERSION_MAJOR)
|
31
31
|
|
@@ -19392,14 +19392,14 @@ module Io
|
|
19392
19392
|
# Executes the Paypal payment
|
19393
19393
|
class PaypalAuthorizationForm < AuthorizationForm
|
19394
19394
|
|
19395
|
-
attr_reader :paypal_payment_id, :
|
19395
|
+
attr_reader :paypal_payment_id, :paypal_payer_id, :key, :attributes, :ip
|
19396
19396
|
|
19397
19397
|
def initialize(incoming={})
|
19398
19398
|
super(:discriminator => AuthorizationForm::Types::PAYPAL_AUTHORIZATION_FORM)
|
19399
19399
|
opts = HttpClient::Helper.symbolize_keys(incoming)
|
19400
|
-
HttpClient::Preconditions.require_keys(opts, [:paypal_payment_id, :
|
19400
|
+
HttpClient::Preconditions.require_keys(opts, [:paypal_payment_id, :paypal_payer_id], 'PaypalAuthorizationForm')
|
19401
19401
|
@paypal_payment_id = HttpClient::Preconditions.assert_class('paypal_payment_id', opts.delete(:paypal_payment_id), String)
|
19402
|
-
@
|
19402
|
+
@paypal_payer_id = HttpClient::Preconditions.assert_class('paypal_payer_id', opts.delete(:paypal_payer_id), String)
|
19403
19403
|
@key = (x = opts.delete(:key); x.nil? ? nil : HttpClient::Preconditions.assert_class('key', x, String))
|
19404
19404
|
@attributes = (x = opts.delete(:attributes); x.nil? ? nil : HttpClient::Preconditions.assert_class('attributes', x, Hash).inject({}) { |h, d| h[d[0]] = HttpClient::Preconditions.assert_class('attributes', d[1], String); h })
|
19405
19405
|
@ip = (x = opts.delete(:ip); x.nil? ? nil : HttpClient::Preconditions.assert_class('ip', x, String))
|
@@ -19416,7 +19416,7 @@ module Io
|
|
19416
19416
|
def subtype_to_hash
|
19417
19417
|
{
|
19418
19418
|
:paypal_payment_id => paypal_payment_id,
|
19419
|
-
:
|
19419
|
+
:paypal_payer_id => paypal_payer_id,
|
19420
19420
|
:key => key,
|
19421
19421
|
:attributes => attributes.nil? ? nil : attributes,
|
19422
19422
|
:ip => ip
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flowcommerce
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Flow Commerce, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|