cameroncox-mousetrap 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/mousetrap/customer.rb +2 -2
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.1
1
+ 0.5.2
@@ -25,12 +25,12 @@ module Mousetrap
25
25
  end
26
26
 
27
27
  def add_item_quantity(item_code, quantity = 1)
28
- attrs = { :itemCode => itemCode, :quantity => quantity }
28
+ attrs = { :itemCode => item_code, :quantity => quantity }
29
29
  self.class.put_resource 'customers', 'add-item-quantity', code, attrs
30
30
  end
31
31
 
32
32
  def remove_item_quantity(item_code, quantity = 1)
33
- attrs = { :itemCode => itemCode, :quantity => quantity }
33
+ attrs = { :itemCode => item_code, :quantity => quantity }
34
34
  self.class.put_resource 'customers', 'remove-item-quantity', code, attrs
35
35
  end
36
36
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cameroncox-mousetrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Larkowski