chargebee 1.1.4 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/chargebee.gemspec +2 -2
- data/lib/chargebee.rb +1 -1
- data/lib/chargebee/models/invoice.rb +6 -2
- metadata +2 -2
data/chargebee.gemspec
CHANGED
@@ -4,8 +4,8 @@ Gem::Specification.new do |s|
|
|
4
4
|
s.rubygems_version = '1.3.5'
|
5
5
|
|
6
6
|
s.name = 'chargebee'
|
7
|
-
s.version = '1.1.
|
8
|
-
s.date = '2013-
|
7
|
+
s.version = '1.1.5'
|
8
|
+
s.date = '2013-02-09'
|
9
9
|
|
10
10
|
s.summary = "Ruby client for Chargebee API."
|
11
11
|
s.description = "Subscription Billing - Simple. Secure. Affordable. More details at www.chargebee.com."
|
data/lib/chargebee.rb
CHANGED
@@ -2,15 +2,19 @@ module ChargeBee
|
|
2
2
|
class Invoice < Model
|
3
3
|
|
4
4
|
class LineItem < Model
|
5
|
-
attr_accessor :date_from, :date_to, :unit_amount, :quantity, :amount, :description
|
5
|
+
attr_accessor :date_from, :date_to, :unit_amount, :quantity, :tax, :amount, :description
|
6
6
|
end
|
7
7
|
|
8
8
|
class Discount < Model
|
9
9
|
attr_accessor :amount, :description
|
10
10
|
end
|
11
11
|
|
12
|
+
class Tax < Model
|
13
|
+
attr_accessor :amount, :description
|
14
|
+
end
|
15
|
+
|
12
16
|
attr_accessor :id, :subscription_id, :recurring, :status, :start_date, :end_date, :amount, :paid_on,
|
13
|
-
:next_retry, :sub_total, :line_items, :discounts
|
17
|
+
:next_retry, :sub_total, :tax, :line_items, :discounts, :taxes
|
14
18
|
|
15
19
|
# OPERATIONS
|
16
20
|
#-----------
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: chargebee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.1.
|
5
|
+
version: 1.1.5
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Rajaraman S
|
@@ -11,7 +11,7 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2013-
|
14
|
+
date: 2013-02-09 00:00:00 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: json_pure
|