chargebee 1.2.6 → 1.2.7

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.
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.2.6'
8
- s.date = '2013-09-28'
7
+ s.version = '1.2.7'
8
+ s.date = '2013-10-07'
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
@@ -24,7 +24,7 @@ require File.dirname(__FILE__) + '/chargebee/models/coupon_code'
24
24
 
25
25
  module ChargeBee
26
26
 
27
- VERSION = '1.2.6'
27
+ VERSION = '1.2.7'
28
28
 
29
29
  @@default_env = nil
30
30
  @@verify_ca_certs = true
@@ -2,11 +2,11 @@ module ChargeBee
2
2
  class Estimate < Model
3
3
 
4
4
  class LineItem < Model
5
- attr_accessor :date_from, :date_to, :unit_amount, :quantity, :tax, :tax_rate, :amount, :description
5
+ attr_accessor :date_from, :date_to, :unit_amount, :quantity, :tax, :tax_rate, :amount, :description, :type, :entity_type, :entity_id
6
6
  end
7
7
 
8
8
  class Discount < Model
9
- attr_accessor :amount, :description
9
+ attr_accessor :amount, :description, :type, :entity_id
10
10
  end
11
11
 
12
12
  class Tax < Model
@@ -2,11 +2,11 @@ module ChargeBee
2
2
  class Invoice < Model
3
3
 
4
4
  class LineItem < Model
5
- attr_accessor :date_from, :date_to, :unit_amount, :quantity, :tax, :tax_rate, :amount, :description
5
+ attr_accessor :date_from, :date_to, :unit_amount, :quantity, :tax, :tax_rate, :amount, :description, :type, :entity_type, :entity_id
6
6
  end
7
7
 
8
8
  class Discount < Model
9
- attr_accessor :amount, :description
9
+ attr_accessor :amount, :description, :type, :entity_id
10
10
  end
11
11
 
12
12
  class Tax < Model
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: chargebee
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.2.6
5
+ version: 1.2.7
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-09-28 00:00:00 Z
14
+ date: 2013-10-07 00:00:00 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: json_pure