caren-api 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/caren-api.gemspec +2 -2
- data/lib/caren/store/line_item.rb +2 -0
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.3
|
data/caren-api.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "caren-api"
|
8
|
-
s.version = "0.6.
|
8
|
+
s.version = "0.6.3"
|
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"]
|
12
|
-
s.date = "2012-06-
|
12
|
+
s.date = "2012-06-06"
|
13
13
|
s.description = "You can use this gem as inspiration of the base of your connections with Caren."
|
14
14
|
s.email = "andre.foeken@nedap.com"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -8,6 +8,7 @@ class Caren::Store::LineItem < Caren::Base
|
|
8
8
|
:billable_id, # Integer (caren billable id)
|
9
9
|
:currency, # String (EUR)
|
10
10
|
:description, # String
|
11
|
+
:delivered, # Boolean
|
11
12
|
:discount_in_cents, # Integer
|
12
13
|
:discount_in_promillage, # Integer (190 = 19%)
|
13
14
|
:commission_in_cents, # Integer
|
@@ -36,6 +37,7 @@ class Caren::Store::LineItem < Caren::Base
|
|
36
37
|
:discount_in_promillage => self.discount_in_promillage,
|
37
38
|
:price_in_cents => self.price_in_cents,
|
38
39
|
:quantity => self.quantity,
|
40
|
+
:delivered => self.delivered,
|
39
41
|
:unit => self.unit,
|
40
42
|
:sales_tax_in_cents => self.sales_tax_in_cents,
|
41
43
|
:sales_tax_in_promillage => self.sales_tax_in_promillage
|
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:
|
4
|
+
hash: 1
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
9
|
+
- 3
|
10
|
+
version: 0.6.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Andre Foeken
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-06-
|
18
|
+
date: 2012-06-06 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
requirement: &id001 !ruby/object:Gem::Requirement
|