flowcommerce 0.0.70 → 0.0.71

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 554e404bf9a85af7d6ace57fd20877c740c37acf
4
- data.tar.gz: b687496080a72b2029ddca40c33de59284533ae8
3
+ metadata.gz: 0047a5655e50d73ded7eb3193ea13f524fd60afd
4
+ data.tar.gz: f3bff5de74c771dddb6ce5c3d16a19233fcd1925
5
5
  SHA512:
6
- metadata.gz: 05b0289fa4060030ab4aecbeb2176e495625c474e6dd679b8136ec85083b7400ec336a3f7b1b00e3e5d11a83e273ac066d0330aecd5e4ba03c5796be69589022
7
- data.tar.gz: 351ad7c5c845a6a7d88ebba70d8aee5c19cff63821f5ed1302ec419df4974bafe6a2693f7efd8a9d4d2a43f2eb4444d170926e2f04b96822be232330d5fdb308
6
+ metadata.gz: d59f7db254ebb7ece8b9604ab867e270f311e3af63ab7796257592dcd2e5e26a0a98c53bf9003a675275972d06f1ec92c0056d4c9b94010b66bd1f9bad1abf20
7
+ data.tar.gz: b429f4164e211a54ced06ee031ec6ffb307bdb995312af8f4af11f16030adf120a9a86e46f0aed24ab2de204dcc4d0ee0becc93a75b62d08af1c6fcf66875719
@@ -15926,15 +15926,15 @@ module Io
15926
15926
  # Represents information specific to an item in a given subcatalog
15927
15927
  class SubcatalogItem
15928
15928
 
15929
- attr_reader :id, :item, :item_function, :item_status
15929
+ attr_reader :id, :item, :status, :item_function
15930
15930
 
15931
15931
  def initialize(incoming={})
15932
15932
  opts = HttpClient::Helper.symbolize_keys(incoming)
15933
- HttpClient::Preconditions.require_keys(opts, [:id, :item, :item_status], 'SubcatalogItem')
15933
+ HttpClient::Preconditions.require_keys(opts, [:id, :item, :status], 'SubcatalogItem')
15934
15934
  @id = HttpClient::Preconditions.assert_class('id', opts.delete(:id), String)
15935
15935
  @item = (x = opts.delete(:item); x.is_a?(::Io::Flow::V0::Models::Item) ? x : ::Io::Flow::V0::Models::Item.new(x))
15936
+ @status = (x = opts.delete(:status); x.is_a?(::Io::Flow::V0::Models::SubcatalogItemStatus) ? x : ::Io::Flow::V0::Models::SubcatalogItemStatus.apply(x))
15936
15937
  @item_function = (x = opts.delete(:item_function); x.nil? ? nil : (x = x; x.is_a?(::Io::Flow::V0::Models::ExpandableItemFunction) ? x : ::Io::Flow::V0::Models::ExpandableItemFunction.from_json(x)))
15937
- @item_status = (x = opts.delete(:item_status); x.is_a?(::Io::Flow::V0::Models::SubcatalogItemStatus) ? x : ::Io::Flow::V0::Models::SubcatalogItemStatus.apply(x))
15938
15938
  end
15939
15939
 
15940
15940
  def to_json
@@ -15949,8 +15949,8 @@ module Io
15949
15949
  {
15950
15950
  :id => id,
15951
15951
  :item => item.to_hash,
15952
- :item_function => item_function.nil? ? nil : item_function.to_hash,
15953
- :item_status => item_status.value
15952
+ :status => status.value,
15953
+ :item_function => item_function.nil? ? nil : item_function.to_hash
15954
15954
  }
15955
15955
  end
15956
15956
 
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.0.70
4
+ version: 0.0.71
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-09-28 00:00:00.000000000 Z
11
+ date: 2016-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json