flowcommerce 0.2.44 → 0.2.45
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.
- data/lib/flow_commerce/flow_api_v0_client.rb +6 -4
- metadata +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Generated by API Builder - https://www.apibuilder.io
|
|
2
2
|
# Service version: 0.4.11
|
|
3
|
-
# apibuilder:0.12.
|
|
3
|
+
# apibuilder:0.12.87 https://app.apibuilder.io/flow/api/0.4.12/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 = 'apibuilder:0.12.
|
|
28
|
+
USER_AGENT = 'apibuilder:0.12.87 https://app.apibuilder.io/flow/api/0.4.12/ruby_client' unless defined?(Constants::USER_AGENT)
|
|
29
29
|
VERSION = '0.4.11' unless defined?(Constants::VERSION)
|
|
30
30
|
VERSION_MAJOR = 0 unless defined?(VERSION_MAJOR)
|
|
31
31
|
|
|
@@ -26427,7 +26427,7 @@ module Io
|
|
|
26427
26427
|
|
|
26428
26428
|
class ServiceSummary
|
|
26429
26429
|
|
|
26430
|
-
attr_reader :id, :carrier, :name
|
|
26430
|
+
attr_reader :id, :carrier, :name, :center_code
|
|
26431
26431
|
|
|
26432
26432
|
def initialize(incoming={})
|
|
26433
26433
|
opts = HttpClient::Helper.symbolize_keys(incoming)
|
|
@@ -26435,6 +26435,7 @@ module Io
|
|
|
26435
26435
|
@id = HttpClient::Preconditions.assert_class('id', opts.delete(:id), String)
|
|
26436
26436
|
@carrier = (x = opts.delete(:carrier); x.is_a?(::Io::Flow::V0::Models::CarrierReference) ? x : ::Io::Flow::V0::Models::CarrierReference.new(x))
|
|
26437
26437
|
@name = HttpClient::Preconditions.assert_class('name', opts.delete(:name), String)
|
|
26438
|
+
@center_code = (x = opts.delete(:center_code); x.nil? ? nil : HttpClient::Preconditions.assert_class('center_code', x, String))
|
|
26438
26439
|
end
|
|
26439
26440
|
|
|
26440
26441
|
def to_json
|
|
@@ -26449,7 +26450,8 @@ module Io
|
|
|
26449
26450
|
{
|
|
26450
26451
|
:id => id,
|
|
26451
26452
|
:carrier => carrier.to_hash,
|
|
26452
|
-
:name => name
|
|
26453
|
+
:name => name,
|
|
26454
|
+
:center_code => center_code
|
|
26453
26455
|
}
|
|
26454
26456
|
end
|
|
26455
26457
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.45
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2017-10-
|
|
12
|
+
date: 2017-10-27 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: json
|