flowcommerce 0.0.60 → 0.0.61
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 +3 -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: e819e4d66ccc1ec086ca433073c5f771e02a6d9d
|
|
4
|
+
data.tar.gz: 2dc69541e46015a07be32acb3c5ab7a5dabd0234
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 60dd3acb39276dc08d9b349d89058b70bff173a6044ff9ca31ea101bf0fc022f773c9b2e073f3d4c0e21dec2ee012dead158c50075c3e4e4d98c854dd3fb9f13
|
|
7
|
+
data.tar.gz: 42d2255d4028c4719fabd8a2f36c889044766e47ba6f28873602e72fe8b1c92e7bfdecf5b048437b1029c00702d6275e5472336bfd941613173e01c7325559f6
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Generated by apidoc - http://www.apidoc.me
|
|
2
2
|
# Service version: 0.1.59
|
|
3
|
-
# apidoc:0.11.37 http://www.apidoc.me/flow/api/0.1.
|
|
3
|
+
# apidoc:0.11.37 http://www.apidoc.me/flow/api/0.1.60/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.37 http://www.apidoc.me/flow/api/0.1.
|
|
28
|
+
USER_AGENT = 'apidoc:0.11.37 http://www.apidoc.me/flow/api/0.1.60/ruby_client' unless defined?(Constants::USER_AGENT)
|
|
29
29
|
VERSION = '0.1.59' unless defined?(Constants::VERSION)
|
|
30
30
|
VERSION_MAJOR = 0 unless defined?(VERSION_MAJOR)
|
|
31
31
|
|
|
@@ -8375,7 +8375,7 @@ module Io
|
|
|
8375
8375
|
def initialize(incoming={})
|
|
8376
8376
|
opts = HttpClient::Helper.symbolize_keys(incoming)
|
|
8377
8377
|
HttpClient::Preconditions.require_keys(opts, [:items, :options], 'DeliveryEstimate')
|
|
8378
|
-
@items = HttpClient::Preconditions.assert_class('items', opts.delete(:items), Array).map { |v| (x = v; x.is_a?(::Io::Flow::V0::Models::
|
|
8378
|
+
@items = HttpClient::Preconditions.assert_class('items', opts.delete(:items), Array).map { |v| (x = v; x.is_a?(::Io::Flow::V0::Models::LineItemForm) ? x : ::Io::Flow::V0::Models::LineItemForm.new(x)) }
|
|
8379
8379
|
@options = HttpClient::Preconditions.assert_class('options', opts.delete(:options), Array).map { |v| (x = v; x.is_a?(::Io::Flow::V0::Models::DeliveryOptionEstimate) ? x : ::Io::Flow::V0::Models::DeliveryOptionEstimate.new(x)) }
|
|
8380
8380
|
end
|
|
8381
8381
|
|