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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 45912b1af8b92fd31befb1c283b8363422b63279
4
- data.tar.gz: eb158f3c55ebbfef5832de82a7a2117098fb5efe
3
+ metadata.gz: 9d819665202fbb04d136703547f573cf71445318
4
+ data.tar.gz: e651ba0d73889512fbc31b0c8a662c00bcede749
5
5
  SHA512:
6
- metadata.gz: f178ad788580de0c4bd1033f63ddcf6671368d189a2eea03e60982696df3a3b7ea14042c99b21668acf837f696d65ae4349d17fa572cb8cbf1fe07b483c389f7
7
- data.tar.gz: 7415098f4bc660852b0f35a9858270b554c4ab1cc4e77fcfde8f1cca6b707325bfbddb47b9e0ee30291b904f07d78be794c8ed16bbc77a1ebface9314be8902c
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.46/ruby_client
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.46/ruby_client' unless defined?(Constants::USER_AGENT)
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, :margin_type, :margin_value, :position
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, :margin_type, :margin_value, :position], 'ItemMarginUpserted')
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
- @margin_type = HttpClient::Preconditions.assert_class('margin_type', opts.delete(:margin_type), String)
10543
- @margin_value = HttpClient::Preconditions.assert_class('margin_value', HttpClient::Helper.to_big_decimal(opts.delete(:margin_value)), BigDecimal)
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
- :margin_type => margin_type,
10565
- :margin_value => margin_value,
10564
+ :fixed => fixed,
10565
+ :percent => percent,
10566
10566
  :position => position
10567
10567
  }
10568
10568
  end
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.53
4
+ version: 0.0.54
5
5
  platform: ruby
6
6
  authors:
7
7
  - Flow Commerce, Inc.