chargebee 1.6.5 → 1.6.6

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 03486a8df94a61e57f3d74dab6bc7964dbfd4f8b
4
- data.tar.gz: 07cf5b2628e5c6b0fb8a1b5a833cbe39716b065b
3
+ metadata.gz: 41c8ab049ae9538dd585c198fbc4efe22d3aa646
4
+ data.tar.gz: 8a4ec463750a1f1ef2619d22ca0e27d219018f19
5
5
  SHA512:
6
- metadata.gz: e06868d8d81e2cb8ce2aed9b7cd35ba923c844123199371c7ef67dcea3b75be6eb2988f0fdc2c04f7cbd349e699a995a6065728eaa6501d9e246068b49b928fe
7
- data.tar.gz: b3dc8260d38c95305aca777c537de9d167319ca12d4a6a9f1c72a9ae41253b859da625d55559e4cf0af6981751c759bcf242b4a6ce52c8997fb21500cd56618e
6
+ metadata.gz: 8f99ad9e6f073b8370a8bf85c46db03d007eb308a0b77b60906322ff0169f10d7ee9db35957c4c0c82f812ad4df21273a765861f224430a487a9c05dafb2274c
7
+ data.tar.gz: 15b9dd5cfbe5d5f24fd97293f3ad6599128551ea2ac4c3d0299106f31042968007a51d4055a3da292bbaf08282fc555da6bdd01ef8cec013c293cbd3b117bce4
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ### v1.6.6 (2015-11-24)
2
+ * * *
3
+
4
+ ** APIs updated**:
5
+
6
+ Support to specify accessbility in customer portal for a plan & addon. Create & update methods of Plan & Addon APIs accept "enabled_in_portal" parameter. See create plan API here : https://apidocs.chargebee.com/docs/api/plans#create_a_plan
7
+
8
+ New attribute "enabled_in_portal" is returned as part of Plan/Addon resource.
9
+ See plan attributes here: https://apidocs.chargebee.com/docs/api/plans#plan_attributes
10
+
1
11
  ### v1.6.5 (2015-11-09)
2
12
  * * *
3
13
 
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.6.5'
8
- s.date = '2015-11-09'
7
+ s.version = '1.6.6'
8
+ s.date = '2015-11-24'
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
@@ -28,7 +28,7 @@ require File.dirname(__FILE__) + '/chargebee/models/download'
28
28
 
29
29
  module ChargeBee
30
30
 
31
- VERSION = '1.6.5'
31
+ VERSION = '1.6.6'
32
32
 
33
33
  @@default_env = nil
34
34
  @@verify_ca_certs = true
@@ -2,7 +2,7 @@ module ChargeBee
2
2
  class Addon < Model
3
3
 
4
4
  attr_accessor :id, :name, :invoice_name, :description, :type, :charge_type, :price, :period,
5
- :period_unit, :unit, :status, :archived_at, :invoice_notes, :taxable
5
+ :period_unit, :unit, :status, :archived_at, :enabled_in_portal, :invoice_notes, :taxable
6
6
 
7
7
  # OPERATIONS
8
8
  #-----------
@@ -3,7 +3,8 @@ module ChargeBee
3
3
 
4
4
  attr_accessor :id, :name, :invoice_name, :description, :price, :period, :period_unit, :trial_period,
5
5
  :trial_period_unit, :charge_model, :free_quantity, :setup_cost, :downgrade_penalty, :status,
6
- :archived_at, :billing_cycles, :redirect_url, :enabled_in_hosted_pages, :invoice_notes, :taxable
6
+ :archived_at, :billing_cycles, :redirect_url, :enabled_in_hosted_pages, :enabled_in_portal,
7
+ :invoice_notes, :taxable
7
8
 
8
9
  # OPERATIONS
9
10
  #-----------
@@ -6,7 +6,7 @@ module ChargeBee
6
6
  end
7
7
 
8
8
  class LinkedRefund < Model
9
- attr_accessor :txn_amount, :txn_date, :txn_id, :txn_status
9
+ attr_accessor :txn_id, :txn_status, :txn_date, :txn_amount
10
10
  end
11
11
 
12
12
  attr_accessor :id, :customer_id, :subscription_id, :payment_method, :reference_number, :gateway,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chargebee
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.5
4
+ version: 1.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rajaraman S
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-11-09 00:00:00.000000000 Z
12
+ date: 2015-11-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json_pure