chargebee 1.1.7 → 1.1.8

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.7'
8
- s.date = '2013-03-08'
7
+ s.version = '1.1.8'
8
+ s.date = '2013-03-11'
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."
@@ -14,6 +14,7 @@ require File.dirname(__FILE__) + '/chargebee/models/card'
14
14
  require File.dirname(__FILE__) + '/chargebee/models/address'
15
15
  require File.dirname(__FILE__) + '/chargebee/models/transaction'
16
16
  require File.dirname(__FILE__) + '/chargebee/models/invoice'
17
+ require File.dirname(__FILE__) + '/chargebee/models/estimate'
17
18
  require File.dirname(__FILE__) + '/chargebee/models/hosted_page'
18
19
  require File.dirname(__FILE__) + '/chargebee/models/event'
19
20
  require File.dirname(__FILE__) + '/chargebee/models/plan'
@@ -23,7 +24,7 @@ require File.dirname(__FILE__) + '/chargebee/models/coupon'
23
24
 
24
25
  module ChargeBee
25
26
 
26
- VERSION = '1.1.7'
27
+ VERSION = '1.1.8'
27
28
 
28
29
  @@default_env = nil
29
30
  @@verify_ca_certs = true
@@ -22,7 +22,11 @@ module ChargeBee
22
22
  end
23
23
 
24
24
  def invoice()
25
- get(:invoice, Invoice, {:line_items => Invoice::LineItem, :discounts => Invoice::Discount})
25
+ get(:invoice, Invoice, {:line_items => Invoice::LineItem, :discounts => Invoice::Discount, :taxes => Invoice::Tax})
26
+ end
27
+
28
+ def estimate()
29
+ get(:estimate, Estimate, {:line_items => Estimate::LineItem, :discounts => Estimate::Discount, :taxes => Estimate::Tax})
26
30
  end
27
31
 
28
32
  def transaction()
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: chargebee
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.1.7
5
+ version: 1.1.8
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-03-08 00:00:00 Z
14
+ date: 2013-03-11 00:00:00 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: json_pure