flowcommerce 0.0.53 → 0.0.54
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 +8 -8
- 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: 9d819665202fbb04d136703547f573cf71445318
|
|
4
|
+
data.tar.gz: e651ba0d73889512fbc31b0c8a662c00bcede749
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bbba9b2376ca9d7a3a46baee379e67aa4bea599330979d4fd9ae04c6896b9a998a2a9fcfaa2d065550aa0609c816084f1ce052e2852656632aa24c4115cb1ae6
|
|
7
|
+
data.tar.gz: 1421cc8ba66b022c27d18f0e40545306b929737d3da0bf9c753e7643ea208c3a3a6f3d4a24501705c45b7e4adb3c076625d930d3a2797b1d1afadbc32429da09
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Generated by apidoc - http://www.apidoc.me
|
|
2
2
|
# Service version: 0.1.46
|
|
3
|
-
# apidoc:0.11.37 http://www.apidoc.me/flow/api/0.1.
|
|
3
|
+
# apidoc:0.11.37 http://www.apidoc.me/flow/api/0.1.49/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.37 http://www.apidoc.me/flow/api/0.1.
|
|
28
|
+
USER_AGENT = 'apidoc:0.11.37 http://www.apidoc.me/flow/api/0.1.49/ruby_client' unless defined?(Constants::USER_AGENT)
|
|
29
29
|
VERSION = '0.1.46' unless defined?(Constants::VERSION)
|
|
30
30
|
VERSION_MAJOR = 0 unless defined?(VERSION_MAJOR)
|
|
31
31
|
|
|
@@ -10526,12 +10526,12 @@ module Io
|
|
|
10526
10526
|
|
|
10527
10527
|
class ItemMarginUpserted < Event
|
|
10528
10528
|
|
|
10529
|
-
attr_reader :event_id, :timestamp, :item_margin_id, :organization_id, :experience_key, :name, :q, :
|
|
10529
|
+
attr_reader :event_id, :timestamp, :item_margin_id, :organization_id, :experience_key, :name, :q, :fixed, :percent, :position
|
|
10530
10530
|
|
|
10531
10531
|
def initialize(incoming={})
|
|
10532
10532
|
super(:name => Event::Types::ITEM_MARGIN_UPSERTED)
|
|
10533
10533
|
opts = HttpClient::Helper.symbolize_keys(incoming)
|
|
10534
|
-
HttpClient::Preconditions.require_keys(opts, [:event_id, :timestamp, :item_margin_id, :organization_id, :experience_key, :name, :q, :
|
|
10534
|
+
HttpClient::Preconditions.require_keys(opts, [:event_id, :timestamp, :item_margin_id, :organization_id, :experience_key, :name, :q, :fixed, :percent, :position], 'ItemMarginUpserted')
|
|
10535
10535
|
@event_id = HttpClient::Preconditions.assert_class('event_id', opts.delete(:event_id), String)
|
|
10536
10536
|
@timestamp = HttpClient::Preconditions.assert_class('timestamp', HttpClient::Helper.to_date_time_iso8601(opts.delete(:timestamp)), DateTime)
|
|
10537
10537
|
@item_margin_id = HttpClient::Preconditions.assert_class('item_margin_id', opts.delete(:item_margin_id), String)
|
|
@@ -10539,8 +10539,8 @@ module Io
|
|
|
10539
10539
|
@experience_key = HttpClient::Preconditions.assert_class('experience_key', opts.delete(:experience_key), String)
|
|
10540
10540
|
@name = HttpClient::Preconditions.assert_class('name', opts.delete(:name), String)
|
|
10541
10541
|
@q = HttpClient::Preconditions.assert_class('q', opts.delete(:q), String)
|
|
10542
|
-
@
|
|
10543
|
-
@
|
|
10542
|
+
@fixed = HttpClient::Preconditions.assert_class('fixed', HttpClient::Helper.to_big_decimal(opts.delete(:fixed)), BigDecimal)
|
|
10543
|
+
@percent = HttpClient::Preconditions.assert_class('percent', HttpClient::Helper.to_big_decimal(opts.delete(:percent)), BigDecimal)
|
|
10544
10544
|
@position = HttpClient::Preconditions.assert_class('position', opts.delete(:position), Integer)
|
|
10545
10545
|
end
|
|
10546
10546
|
|
|
@@ -10561,8 +10561,8 @@ module Io
|
|
|
10561
10561
|
:experience_key => experience_key,
|
|
10562
10562
|
:name => name,
|
|
10563
10563
|
:q => q,
|
|
10564
|
-
:
|
|
10565
|
-
:
|
|
10564
|
+
:fixed => fixed,
|
|
10565
|
+
:percent => percent,
|
|
10566
10566
|
:position => position
|
|
10567
10567
|
}
|
|
10568
10568
|
end
|