flowcommerce 0.0.85 → 0.0.86

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: 39f8c4111fd5be30fc1961563d0db1e9e2f079c0
4
- data.tar.gz: ca43dcf6d35b1a17b70cfc10a69777e414bd5d16
3
+ metadata.gz: 6815af2e84b20591fb8d4a5e8d6ca701cc5084cb
4
+ data.tar.gz: 01a0ae0be767cd076e60a9a5114f16a7f46e785b
5
5
  SHA512:
6
- metadata.gz: 2b0124c9b0a3e26dee3ba5e56b24e01fdf54a4d0ef78d200c5e668fefee20e242633cf3e51067d38a7ae08c4d84dfb38376d66fc53fc7ab90e52968d36ba6b44
7
- data.tar.gz: 2b87f6eecd02d51e4795a6e45b7567fd4d70d17f8e258fa52a4bc9aff9b57f5188c98aaaa4280797d76c98141cfd6838c0bd5b3391f3e63d273685f95349c5b4
6
+ metadata.gz: 8c3f476992c76eae885086bd8113bf0e00f026c5540a2c1c534cf10533acee84620fe5ec7660a4df0c2ba457e8e89ded58d538a3d3c1fcb8f6aa9d44aa47f713
7
+ data.tar.gz: 21ad3325bb479dd3c3f09d678816323ee50337a6aaf4d7131b92c2dda3229596a1b9e091db8e125303fa9e33b15f460bfe92f5b4613f9c933ceccbf64e11340a
@@ -1,6 +1,6 @@
1
1
  # Generated by apidoc - http://www.apidoc.me
2
2
  # Service version: 0.1.77
3
- # apidoc:0.11.47 http://www.apidoc.me/flow/api/0.1.92/ruby_client
3
+ # apidoc:0.11.47 http://www.apidoc.me/flow/api/0.1.93/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.47 http://www.apidoc.me/flow/api/0.1.92/ruby_client' unless defined?(Constants::USER_AGENT)
28
+ USER_AGENT = 'apidoc:0.11.47 http://www.apidoc.me/flow/api/0.1.93/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
 
@@ -4638,14 +4638,14 @@ module Io
4638
4638
  end
4639
4639
 
4640
4640
  def to_hash
4641
- subtype_to_hash.merge(:discriminator => @name)
4641
+ subtype_to_hash.merge(:key => @name)
4642
4642
  end
4643
4643
 
4644
4644
  def LocalizedPrice.from_json(hash)
4645
4645
  HttpClient::Preconditions.assert_class('hash', hash, Hash)
4646
- discriminator = HttpClient::Helper.symbolize_keys(hash)[:discriminator].to_s.strip
4646
+ discriminator = HttpClient::Helper.symbolize_keys(hash)[:key].to_s.strip
4647
4647
  if discriminator.empty?
4648
- raise "Union type[localized_price] requires a field named 'discriminator'"
4648
+ raise "Union type[localized_price] requires a field named 'key'"
4649
4649
  end
4650
4650
  case discriminator
4651
4651
  when Types::LOCALIZED_ITEM_PRICE; LocalizedItemPrice.new(hash)
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.0.85
4
+ version: 0.0.86
5
5
  platform: ruby
6
6
  authors:
7
7
  - Flow Commerce, Inc.