flowcommerce 0.2.15 → 0.2.16
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 +8 -10
- metadata +9 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cba52daf91fb29ae6be0c70f91af0589c9260c61
|
|
4
|
+
data.tar.gz: 43405dcc9827257d148ac2d3cfe43ac87d70241f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bfce157728c1ebdd2f0688fb6c400b3152ff08130e1d5f898041258a1b7fc3328506073c356acc693ebea9f6b68735868cddaedcd5c0fbe9f679d67b7ea5a7d2
|
|
7
|
+
data.tar.gz: 9515e27ce5673802d109b0baa39bcdfbd59bb02bd84c8c3e274b23b2baefbc5bee10b85860e2902a2fc39aba06e36a94b6496c03af32c0f8d2818d8a98c01444
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Generated by apidoc - http://www.apidoc.me
|
|
2
|
-
# Service version: 0.3.
|
|
3
|
-
# apidoc:0.11.78 http://www.apidoc.me/flow/api/0.3.
|
|
2
|
+
# Service version: 0.3.28
|
|
3
|
+
# apidoc:0.11.78 http://www.apidoc.me/flow/api/0.3.28/ruby_client
|
|
4
4
|
|
|
5
5
|
require 'cgi'
|
|
6
6
|
require 'net/http'
|
|
@@ -25,8 +25,8 @@ 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.78 http://www.apidoc.me/flow/api/0.3.
|
|
29
|
-
VERSION = '0.3.
|
|
28
|
+
USER_AGENT = 'apidoc:0.11.78 http://www.apidoc.me/flow/api/0.3.28/ruby_client' unless defined?(Constants::USER_AGENT)
|
|
29
|
+
VERSION = '0.3.28' unless defined?(Constants::VERSION)
|
|
30
30
|
VERSION_MAJOR = 0 unless defined?(VERSION_MAJOR)
|
|
31
31
|
|
|
32
32
|
end
|
|
@@ -25827,14 +25827,13 @@ module Io
|
|
|
25827
25827
|
|
|
25828
25828
|
class Zone
|
|
25829
25829
|
|
|
25830
|
-
attr_reader :province, :country
|
|
25830
|
+
attr_reader :province, :country
|
|
25831
25831
|
|
|
25832
25832
|
def initialize(incoming={})
|
|
25833
25833
|
opts = HttpClient::Helper.symbolize_keys(incoming)
|
|
25834
|
-
HttpClient::Preconditions.require_keys(opts, [:
|
|
25834
|
+
HttpClient::Preconditions.require_keys(opts, [:country], 'Zone')
|
|
25835
25835
|
@province = (x = opts.delete(:province); x.nil? ? nil : HttpClient::Preconditions.assert_class('province', x, String))
|
|
25836
|
-
@country =
|
|
25837
|
-
@region = HttpClient::Preconditions.assert_class('region', opts.delete(:region), String)
|
|
25836
|
+
@country = HttpClient::Preconditions.assert_class('country', opts.delete(:country), String)
|
|
25838
25837
|
end
|
|
25839
25838
|
|
|
25840
25839
|
def to_json
|
|
@@ -25848,8 +25847,7 @@ module Io
|
|
|
25848
25847
|
def to_hash
|
|
25849
25848
|
{
|
|
25850
25849
|
:province => province,
|
|
25851
|
-
:country => country
|
|
25852
|
-
:region => region
|
|
25850
|
+
:country => country
|
|
25853
25851
|
}
|
|
25854
25852
|
end
|
|
25855
25853
|
|
metadata
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
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.16
|
|
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-05-
|
|
11
|
+
date: 2017-05-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- -
|
|
17
|
+
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '0'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- -
|
|
24
|
+
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '0'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: bigdecimal
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- -
|
|
31
|
+
- - ">="
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
33
|
version: '0'
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
|
-
- -
|
|
38
|
+
- - ">="
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '0'
|
|
41
41
|
description: Native ruby client for the Flow REST API. Detailed information at http://apidoc.me/flow
|
|
@@ -59,17 +59,17 @@ require_paths:
|
|
|
59
59
|
- lib
|
|
60
60
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
61
61
|
requirements:
|
|
62
|
-
- -
|
|
62
|
+
- - ">="
|
|
63
63
|
- !ruby/object:Gem::Version
|
|
64
64
|
version: '0'
|
|
65
65
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
66
66
|
requirements:
|
|
67
|
-
- -
|
|
67
|
+
- - ">="
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
69
|
version: '0'
|
|
70
70
|
requirements: []
|
|
71
71
|
rubyforge_project:
|
|
72
|
-
rubygems_version: 2.
|
|
72
|
+
rubygems_version: 2.6.11
|
|
73
73
|
signing_key:
|
|
74
74
|
specification_version: 4
|
|
75
75
|
summary: Native ruby client for the Flow REST API.
|