flowcommerce 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2204e4d2e020718854824f59c77e82f1a0ad3c1f
4
- data.tar.gz: 63016261af041e1a56d30504b71586d508f77fec
3
+ metadata.gz: 7ae533a1a3b60f29dfe0404ea185af409a351a46
4
+ data.tar.gz: 4a8bf7fbe84cb44b49540bff8d6acdd3b44ff7f1
5
5
  SHA512:
6
- metadata.gz: d422dd7ece80ba2b6a80932ea956d447c6085a4ff889f90ffe577f63ba606abcba9328b044e1ab5d0aa32ae79d0db1dde53fb9511326bc0b47aa6d1659c10276
7
- data.tar.gz: e55eea9dacce2d957c425de7028ab73cdb2ba594ebfb140b208477e5c866950da73856d5cd9c7ea235b50efec3bacce2ac0596838aef8e830be3bd8abef1b248
6
+ metadata.gz: 064657d5fe0e8b02819e7bdb44563e0b10db54f70626edb658e494721776235288d10f6b8fecea3a0540cc682b622e441386d6a55898acb49e11b45466fe88c5
7
+ data.tar.gz: 807ce355135ebcba9f29d8414adf3955f1600e1faab6de8f3f55fc1563123b962fdb050e1bb798140af0c30e65420fc11623dd00c0862e2f71e85e958e2f1247
@@ -1,6 +1,6 @@
1
1
  # Generated by apidoc - http://www.apidoc.me
2
2
  # Service version: 0.1.77
3
- # apidoc:0.11.51 http://www.apidoc.me/flow/api/0.2.21/ruby_client
3
+ # apidoc:0.11.51 http://www.apidoc.me/flow/api/0.2.23/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.51 http://www.apidoc.me/flow/api/0.2.21/ruby_client' unless defined?(Constants::USER_AGENT)
28
+ USER_AGENT = 'apidoc:0.11.51 http://www.apidoc.me/flow/api/0.2.23/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
 
@@ -13881,7 +13881,7 @@ module Io
13881
13881
 
13882
13882
  class Local
13883
13883
 
13884
- attr_reader :experience, :prices, :rates, :spot_rates, :status, :line
13884
+ attr_reader :experience, :prices, :rates, :spot_rates, :status
13885
13885
 
13886
13886
  def initialize(incoming={})
13887
13887
  opts = HttpClient::Helper.symbolize_keys(incoming)
@@ -13891,7 +13891,6 @@ module Io
13891
13891
  @rates = HttpClient::Preconditions.assert_class('rates', opts.delete(:rates), Array).map { |v| (x = v; x.is_a?(::Io::Flow::V0::Models::Rate) ? x : ::Io::Flow::V0::Models::Rate.new(x)) }
13892
13892
  @spot_rates = HttpClient::Preconditions.assert_class('spot_rates', opts.delete(:spot_rates), Array).map { |v| (x = v; x.is_a?(::Io::Flow::V0::Models::SpotRate) ? x : ::Io::Flow::V0::Models::SpotRate.new(x)) }
13893
13893
  @status = (x = (x = opts.delete(:status); x.nil? ? "included" : x); x.is_a?(::Io::Flow::V0::Models::SubcatalogItemStatus) ? x : ::Io::Flow::V0::Models::SubcatalogItemStatus.apply(x))
13894
- @line = (x = opts.delete(:line); x.nil? ? nil : (x = x; x.is_a?(::Io::Flow::V0::Models::Line) ? x : ::Io::Flow::V0::Models::Line.new(x)))
13895
13894
  end
13896
13895
 
13897
13896
  def to_json
@@ -13908,8 +13907,7 @@ module Io
13908
13907
  :prices => prices.map { |o| o.to_hash },
13909
13908
  :rates => rates.map { |o| o.to_hash },
13910
13909
  :spot_rates => spot_rates.map { |o| o.to_hash },
13911
- :status => status.value,
13912
- :line => line.nil? ? nil : line.to_hash
13910
+ :status => status.value
13913
13911
  }
13914
13912
  end
13915
13913
 
@@ -14726,7 +14724,7 @@ module Io
14726
14724
  # then to book that order in order processing.
14727
14725
  class Order
14728
14726
 
14729
- attr_reader :id, :number, :customer, :expires_at, :items, :destination, :deliveries, :selections, :prices, :total, :attributes
14727
+ attr_reader :id, :number, :customer, :expires_at, :items, :destination, :deliveries, :selections, :prices, :total, :attributes, :lines
14730
14728
 
14731
14729
  def initialize(incoming={})
14732
14730
  opts = HttpClient::Helper.symbolize_keys(incoming)
@@ -14742,6 +14740,7 @@ module Io
14742
14740
  @prices = HttpClient::Preconditions.assert_class('prices', opts.delete(:prices), Array).map { |v| (x = v; x.is_a?(::Io::Flow::V0::Models::OrderPriceDetail) ? x : ::Io::Flow::V0::Models::OrderPriceDetail.new(x)) }
14743
14741
  @total = (x = opts.delete(:total); x.is_a?(::Io::Flow::V0::Models::LocalizedTotal) ? x : ::Io::Flow::V0::Models::LocalizedTotal.new(x))
14744
14742
  @attributes = HttpClient::Preconditions.assert_class('attributes', opts.delete(:attributes), Hash).inject({}) { |h, d| h[d[0]] = HttpClient::Preconditions.assert_class('attributes', d[1], String); h }
14743
+ @lines = (x = opts.delete(:lines); x.nil? ? nil : HttpClient::Preconditions.assert_class('lines', x, Array).map { |v| (x = v; x.is_a?(::Io::Flow::V0::Models::Line) ? x : ::Io::Flow::V0::Models::Line.new(x)) })
14745
14744
  end
14746
14745
 
14747
14746
  def to_json
@@ -14764,7 +14763,8 @@ module Io
14764
14763
  :selections => selections,
14765
14764
  :prices => prices.map { |o| o.to_hash },
14766
14765
  :total => total.to_hash,
14767
- :attributes => attributes
14766
+ :attributes => attributes,
14767
+ :lines => lines.nil? ? nil : lines.map { |o| o.to_hash }
14768
14768
  }
14769
14769
  end
14770
14770
 
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.1.7
4
+ version: 0.1.8
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: 2016-11-06 00:00:00.000000000 Z
11
+ date: 2016-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json