chargebee 1.3.4 → 1.3.5

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/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ### v1.3.5 (2014-02-19)
2
+ * * *
3
+ * Support for passing shipping address for create subscription & update subscription API.
4
+
5
+ * Added new attributes for the Address resource.
6
+
1
7
  ### v1.3.4 (2014-02-12)
2
8
  * * *
3
9
  * New resource Download added to expose the URLs from which you can download resources like invoice PDFs.
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.3.4'
8
- s.date = '2014-02-12'
7
+ s.version = '1.3.5'
8
+ s.date = '2014-02-19'
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."
@@ -1,8 +1,8 @@
1
1
  module ChargeBee
2
2
  class Address < Model
3
3
 
4
- attr_accessor :label, :first_name, :last_name, :company, :addr, :extended_addr, :extended_addr2,
5
- :city, :state, :country, :zip, :subscription_id
4
+ attr_accessor :label, :first_name, :last_name, :email, :company, :phone, :addr, :extended_addr,
5
+ :extended_addr2, :city, :state, :country, :zip, :subscription_id
6
6
 
7
7
  # OPERATIONS
8
8
  #-----------
@@ -2,7 +2,7 @@ module ChargeBee
2
2
  class Customer < Model
3
3
 
4
4
  class BillingAddress < Model
5
- attr_accessor :line1, :line2, :city, :state, :country, :zip
5
+ attr_accessor :first_name, :last_name, :email, :company, :phone, :line1, :line2, :line3, :city, :state, :country, :zip
6
6
  end
7
7
 
8
8
  attr_accessor :id, :first_name, :last_name, :email, :phone, :company, :vat_number, :auto_collection,
data/lib/chargebee.rb CHANGED
@@ -22,10 +22,11 @@ require File.dirname(__FILE__) + '/chargebee/models/addon'
22
22
  require File.dirname(__FILE__) + '/chargebee/models/coupon'
23
23
  require File.dirname(__FILE__) + '/chargebee/models/coupon_code'
24
24
  require File.dirname(__FILE__) + '/chargebee/models/comment'
25
+ require File.dirname(__FILE__) + '/chargebee/models/download'
25
26
 
26
27
  module ChargeBee
27
28
 
28
- VERSION = '1.3.4'
29
+ VERSION = '1.3.5'
29
30
 
30
31
  @@default_env = nil
31
32
  @@verify_ca_certs = true
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: chargebee
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.3.4
5
+ version: 1.3.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: 2014-02-12 00:00:00 Z
14
+ date: 2014-02-19 00:00:00 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: json_pure