flowcommerce 0.1.9 → 0.1.10
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 +34 -2
- 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: 079cd5d7ff4a6b28a6e6823f3830d9b27e47e6e2
|
|
4
|
+
data.tar.gz: 668ca48d171d1533fbc5e99e38c0297bd016154a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 98fabc8a8da21fb4bc70dede65f5b9340ebd39776df699dbe925c727bbcbf960744b98501c61f1d5f34b5fac78660f0c902a4aa04be0b51b9e79e63ef93a0e0e
|
|
7
|
+
data.tar.gz: 168f16b34a25f2d25e8b5ecdbe2c93c03a61ceb7cd5189df5084637a5af150e81c1e170f46ea097eac8b6d6c57a1a766232f6d2838eb08cf5c12deb0cb60a949
|
|
@@ -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://
|
|
3
|
+
# apidoc:0.11.51 http://localhost:9000/flow/api/0.2.25/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://
|
|
28
|
+
USER_AGENT = 'apidoc:0.11.51 http://localhost:9000/flow/api/0.2.25/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
|
|
|
@@ -3924,6 +3924,8 @@ module Io
|
|
|
3924
3924
|
MERCHANT_OF_RECORD_AUTHORIZATION_FORM = 'merchant_of_record_authorization_form' unless defined?(MERCHANT_OF_RECORD_AUTHORIZATION_FORM)
|
|
3925
3925
|
end
|
|
3926
3926
|
|
|
3927
|
+
attr_reader :discriminator
|
|
3928
|
+
|
|
3927
3929
|
def initialize(incoming={})
|
|
3928
3930
|
opts = HttpClient::Helper.symbolize_keys(incoming)
|
|
3929
3931
|
HttpClient::Preconditions.require_keys(opts, [:discriminator], 'AuthorizationForm')
|
|
@@ -3987,6 +3989,8 @@ module Io
|
|
|
3987
3989
|
DEMINIMIS_PER_ITEM = 'deminimis_per_item' unless defined?(DEMINIMIS_PER_ITEM)
|
|
3988
3990
|
end
|
|
3989
3991
|
|
|
3992
|
+
attr_reader :discriminator
|
|
3993
|
+
|
|
3990
3994
|
def initialize(incoming={})
|
|
3991
3995
|
opts = HttpClient::Helper.symbolize_keys(incoming)
|
|
3992
3996
|
HttpClient::Preconditions.require_keys(opts, [:discriminator], 'Deminimis')
|
|
@@ -4047,6 +4051,8 @@ module Io
|
|
|
4047
4051
|
HARMONIZATION_DOCUMENT = 'harmonization_document' unless defined?(HARMONIZATION_DOCUMENT)
|
|
4048
4052
|
end
|
|
4049
4053
|
|
|
4054
|
+
attr_reader :discriminator
|
|
4055
|
+
|
|
4050
4056
|
def initialize(incoming={})
|
|
4051
4057
|
opts = HttpClient::Helper.symbolize_keys(incoming)
|
|
4052
4058
|
HttpClient::Preconditions.require_keys(opts, [:discriminator], 'Document')
|
|
@@ -4155,6 +4161,8 @@ module Io
|
|
|
4155
4161
|
TRACKING_LABEL_EVENT_UPSERTED = 'tracking_label_event_upserted' unless defined?(TRACKING_LABEL_EVENT_UPSERTED)
|
|
4156
4162
|
end
|
|
4157
4163
|
|
|
4164
|
+
attr_reader :discriminator
|
|
4165
|
+
|
|
4158
4166
|
def initialize(incoming={})
|
|
4159
4167
|
opts = HttpClient::Helper.symbolize_keys(incoming)
|
|
4160
4168
|
HttpClient::Preconditions.require_keys(opts, [:discriminator], 'Event')
|
|
@@ -4264,6 +4272,8 @@ module Io
|
|
|
4264
4272
|
ITEM_FUNCTION_REFERENCE = 'item_function_reference' unless defined?(ITEM_FUNCTION_REFERENCE)
|
|
4265
4273
|
end
|
|
4266
4274
|
|
|
4275
|
+
attr_reader :discriminator
|
|
4276
|
+
|
|
4267
4277
|
def initialize(incoming={})
|
|
4268
4278
|
opts = HttpClient::Helper.symbolize_keys(incoming)
|
|
4269
4279
|
HttpClient::Preconditions.require_keys(opts, [:discriminator], 'ExpandableItemFunction')
|
|
@@ -4324,6 +4334,8 @@ module Io
|
|
|
4324
4334
|
ORGANIZATION_REFERENCE = 'organization_reference' unless defined?(ORGANIZATION_REFERENCE)
|
|
4325
4335
|
end
|
|
4326
4336
|
|
|
4337
|
+
attr_reader :discriminator
|
|
4338
|
+
|
|
4327
4339
|
def initialize(incoming={})
|
|
4328
4340
|
opts = HttpClient::Helper.symbolize_keys(incoming)
|
|
4329
4341
|
HttpClient::Preconditions.require_keys(opts, [:discriminator], 'ExpandableOrganization')
|
|
@@ -4385,6 +4397,8 @@ module Io
|
|
|
4385
4397
|
SUBCATALOG_REFERENCE = 'subcatalog_reference' unless defined?(SUBCATALOG_REFERENCE)
|
|
4386
4398
|
end
|
|
4387
4399
|
|
|
4400
|
+
attr_reader :discriminator
|
|
4401
|
+
|
|
4388
4402
|
def initialize(incoming={})
|
|
4389
4403
|
opts = HttpClient::Helper.symbolize_keys(incoming)
|
|
4390
4404
|
HttpClient::Preconditions.require_keys(opts, [:discriminator], 'ExpandableSubcatalog')
|
|
@@ -4445,6 +4459,8 @@ module Io
|
|
|
4445
4459
|
USER_REFERENCE = 'user_reference' unless defined?(USER_REFERENCE)
|
|
4446
4460
|
end
|
|
4447
4461
|
|
|
4462
|
+
attr_reader :discriminator
|
|
4463
|
+
|
|
4448
4464
|
def initialize(incoming={})
|
|
4449
4465
|
opts = HttpClient::Helper.symbolize_keys(incoming)
|
|
4450
4466
|
HttpClient::Preconditions.require_keys(opts, [:discriminator], 'ExpandableUser')
|
|
@@ -4508,6 +4524,8 @@ module Io
|
|
|
4508
4524
|
EXPORT_DELIVERY_EMAIL = 'export_delivery_email' unless defined?(EXPORT_DELIVERY_EMAIL)
|
|
4509
4525
|
end
|
|
4510
4526
|
|
|
4527
|
+
attr_reader :discriminator
|
|
4528
|
+
|
|
4511
4529
|
def initialize(incoming={})
|
|
4512
4530
|
opts = HttpClient::Helper.symbolize_keys(incoming)
|
|
4513
4531
|
HttpClient::Preconditions.require_keys(opts, [:discriminator], 'ExportDelivery')
|
|
@@ -4570,6 +4588,8 @@ module Io
|
|
|
4570
4588
|
SOLIDUS_VARIANT_EXPORT_TYPE = 'solidus_variant_export_type' unless defined?(SOLIDUS_VARIANT_EXPORT_TYPE)
|
|
4571
4589
|
end
|
|
4572
4590
|
|
|
4591
|
+
attr_reader :discriminator
|
|
4592
|
+
|
|
4573
4593
|
def initialize(incoming={})
|
|
4574
4594
|
opts = HttpClient::Helper.symbolize_keys(incoming)
|
|
4575
4595
|
HttpClient::Preconditions.require_keys(opts, [:discriminator], 'ExportType')
|
|
@@ -4641,6 +4661,8 @@ module Io
|
|
|
4641
4661
|
INVENTORY_UNLIMITED = 'inventory_unlimited' unless defined?(INVENTORY_UNLIMITED)
|
|
4642
4662
|
end
|
|
4643
4663
|
|
|
4664
|
+
attr_reader :discriminator
|
|
4665
|
+
|
|
4644
4666
|
def initialize(incoming={})
|
|
4645
4667
|
opts = HttpClient::Helper.symbolize_keys(incoming)
|
|
4646
4668
|
HttpClient::Preconditions.require_keys(opts, [:discriminator], 'InventoryStrategy')
|
|
@@ -4706,6 +4728,8 @@ module Io
|
|
|
4706
4728
|
LOCALIZED_TOTAL = 'localized_total' unless defined?(LOCALIZED_TOTAL)
|
|
4707
4729
|
end
|
|
4708
4730
|
|
|
4731
|
+
attr_reader :key
|
|
4732
|
+
|
|
4709
4733
|
def initialize(incoming={})
|
|
4710
4734
|
opts = HttpClient::Helper.symbolize_keys(incoming)
|
|
4711
4735
|
HttpClient::Preconditions.require_keys(opts, [:key], 'LocalizedPrice')
|
|
@@ -4773,6 +4797,8 @@ module Io
|
|
|
4773
4797
|
PERCENT_MARGIN = 'percent_margin' unless defined?(PERCENT_MARGIN)
|
|
4774
4798
|
end
|
|
4775
4799
|
|
|
4800
|
+
attr_reader :discriminator
|
|
4801
|
+
|
|
4776
4802
|
def initialize(incoming={})
|
|
4777
4803
|
opts = HttpClient::Helper.symbolize_keys(incoming)
|
|
4778
4804
|
HttpClient::Preconditions.require_keys(opts, [:discriminator], 'TierRuleOutcome')
|
|
@@ -4835,6 +4861,8 @@ module Io
|
|
|
4835
4861
|
PARTNER_TOKEN = 'partner_token' unless defined?(PARTNER_TOKEN)
|
|
4836
4862
|
end
|
|
4837
4863
|
|
|
4864
|
+
attr_reader :discriminator
|
|
4865
|
+
|
|
4838
4866
|
def initialize(incoming={})
|
|
4839
4867
|
opts = HttpClient::Helper.symbolize_keys(incoming)
|
|
4840
4868
|
HttpClient::Preconditions.require_keys(opts, [:discriminator], 'Token')
|
|
@@ -4895,6 +4923,8 @@ module Io
|
|
|
4895
4923
|
PARTNER_TOKEN_FORM = 'partner_token_form' unless defined?(PARTNER_TOKEN_FORM)
|
|
4896
4924
|
end
|
|
4897
4925
|
|
|
4926
|
+
attr_reader :discriminator
|
|
4927
|
+
|
|
4898
4928
|
def initialize(incoming={})
|
|
4899
4929
|
opts = HttpClient::Helper.symbolize_keys(incoming)
|
|
4900
4930
|
HttpClient::Preconditions.require_keys(opts, [:discriminator], 'TokenForm')
|
|
@@ -4955,6 +4985,8 @@ module Io
|
|
|
4955
4985
|
PARTNER_TOKEN_REFERENCE = 'partner_token_reference' unless defined?(PARTNER_TOKEN_REFERENCE)
|
|
4956
4986
|
end
|
|
4957
4987
|
|
|
4988
|
+
attr_reader :discriminator
|
|
4989
|
+
|
|
4958
4990
|
def initialize(incoming={})
|
|
4959
4991
|
opts = HttpClient::Helper.symbolize_keys(incoming)
|
|
4960
4992
|
HttpClient::Preconditions.require_keys(opts, [:discriminator], 'TokenReference')
|