caren-api 0.5.6 → 0.5.7

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.6
1
+ 0.5.7
data/caren-api.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "caren-api"
8
- s.version = "0.5.6"
8
+ s.version = "0.5.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Andre Foeken"]
@@ -15,7 +15,7 @@ class Caren::Store::Invoice < Caren::Base
15
15
  :customer_email, # String
16
16
  :email_status, # String (unsent,sent,reminder_sent)
17
17
  :paid, # Boolean
18
- :status, # String (sent paid late revoked)
18
+ :status, # String (open paid late revoked)
19
19
  :payment_method, # String
20
20
  :payment_method_description, # String
21
21
  :billing_address, # Store::Address(:purpose => 'billing')
@@ -14,6 +14,7 @@ class Caren::Store::LineItem < Caren::Base
14
14
  :commission_in_promillage, # Integer (70 = 7%)
15
15
  :price_in_cents, # Integer
16
16
  :quantity, # Integer
17
+ :unit, # String
17
18
  :sales_tax_in_cents, # Integer
18
19
  :sales_tax_in_promillage, # Integer
19
20
  ] + super
@@ -35,6 +36,7 @@ class Caren::Store::LineItem < Caren::Base
35
36
  :discount_in_promillage => self.discount_in_promillage,
36
37
  :price_in_cents => self.price_in_cents,
37
38
  :quantity => self.quantity,
39
+ :unit => self.unit,
38
40
  :sales_tax_in_cents => self.sales_tax_in_cents,
39
41
  :sales_tax_in_promillage => self.sales_tax_in_promillage
40
42
  }
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caren-api
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 6
10
- version: 0.5.6
9
+ - 7
10
+ version: 0.5.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andre Foeken