chargebee 1.1.6 → 1.1.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.
@@ -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.6'
8
- s.date = '2013-02-14'
7
+ s.version = '1.1.7'
8
+ s.date = '2013-03-08'
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."
@@ -23,7 +23,7 @@ require File.dirname(__FILE__) + '/chargebee/models/coupon'
23
23
 
24
24
  module ChargeBee
25
25
 
26
- VERSION = '1.1.6'
26
+ VERSION = '1.1.7'
27
27
 
28
28
  @@default_env = nil
29
29
  @@verify_ca_certs = true
@@ -1,7 +1,7 @@
1
1
  module ChargeBee
2
2
  class Customer < Model
3
3
 
4
- attr_accessor :id, :first_name, :last_name, :email, :company, :created_at, :card_status
4
+ attr_accessor :id, :first_name, :last_name, :email, :company, :vat_number, :created_at, :card_status
5
5
 
6
6
  # OPERATIONS
7
7
  #-----------
@@ -2,7 +2,7 @@ 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, :amount, :description
5
+ attr_accessor :date_from, :date_to, :unit_amount, :quantity, :tax, :tax_rate, :amount, :description
6
6
  end
7
7
 
8
8
  class Discount < Model
@@ -2,7 +2,7 @@ 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, :amount, :description
5
+ attr_accessor :date_from, :date_to, :unit_amount, :quantity, :tax, :tax_rate, :amount, :description
6
6
  end
7
7
 
8
8
  class Discount < Model
@@ -13,8 +13,8 @@ module ChargeBee
13
13
  attr_accessor :amount, :description
14
14
  end
15
15
 
16
- attr_accessor :id, :subscription_id, :recurring, :status, :start_date, :end_date, :amount, :paid_on,
17
- :next_retry, :sub_total, :tax, :line_items, :discounts, :taxes
16
+ attr_accessor :id, :subscription_id, :recurring, :status, :vat_number, :start_date, :end_date,
17
+ :amount, :paid_on, :next_retry, :sub_total, :tax, :line_items, :discounts, :taxes
18
18
 
19
19
  # OPERATIONS
20
20
  #-----------
@@ -2,7 +2,8 @@ module ChargeBee
2
2
  class Transaction < Model
3
3
 
4
4
  attr_accessor :id, :subscription_id, :payment_method, :gateway, :description, :type, :date,
5
- :amount, :id_at_gateway, :error_code, :error_text, :refunded_tx_id, :voided_at, :status, :masked_card_number
5
+ :amount, :id_at_gateway, :error_code, :error_text, :voided_at, :status, :masked_card_number,
6
+ :refunded_txn_id
6
7
 
7
8
  # OPERATIONS
8
9
  #-----------
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: chargebee
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.1.6
5
+ version: 1.1.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-02-14 00:00:00 Z
14
+ date: 2013-03-08 00:00:00 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: json_pure