chargebee 2.0.6 → 2.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/chargebee.gemspec +5 -2
- data/lib/.DS_Store +0 -0
- data/lib/chargebee.rb +2 -1
- data/lib/chargebee/.DS_Store +0 -0
- data/lib/chargebee/models/third_party_payment_method.rb +10 -0
- data/lib/chargebee/result.rb +5 -0
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ca2f07509d1d5f3ac363b7e636f4f3f69708474
|
4
|
+
data.tar.gz: 877d42cdb7c5d919152967e7c0ca8b67260755e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3211121316f5e0890c23ae3828b7526b405a2c72141952cfa9ca117af3fcff307bae338fe4611a074c2a390e6a452946ddadfeb84071842ed0970db16c78918
|
7
|
+
data.tar.gz: 442ace2691d487e12ee5b80fe6367597d1ccb60c0f5b00f8655c40e877094a574c7223cc241b152a105d6ac137cc939dc9bf674e33b3ada1cfa0ecbb0b58118b
|
data/CHANGELOG.md
CHANGED
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 = '2.0.
|
8
|
-
s.date = '2016-06-
|
7
|
+
s.version = '2.0.7'
|
8
|
+
s.date = '2016-06-27'
|
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."
|
@@ -33,7 +33,9 @@ Gem::Specification.new do |s|
|
|
33
33
|
README.rdoc
|
34
34
|
Rakefile
|
35
35
|
chargebee.gemspec
|
36
|
+
lib/.DS_Store
|
36
37
|
lib/chargebee.rb
|
38
|
+
lib/chargebee/.DS_Store
|
37
39
|
lib/chargebee/environment.rb
|
38
40
|
lib/chargebee/errors.rb
|
39
41
|
lib/chargebee/list_result.rb
|
@@ -58,6 +60,7 @@ Gem::Specification.new do |s|
|
|
58
60
|
lib/chargebee/models/portal_session.rb
|
59
61
|
lib/chargebee/models/subscription.rb
|
60
62
|
lib/chargebee/models/subscription_estimate.rb
|
63
|
+
lib/chargebee/models/third_party_payment_method.rb
|
61
64
|
lib/chargebee/models/transaction.rb
|
62
65
|
lib/chargebee/request.rb
|
63
66
|
lib/chargebee/rest.rb
|
data/lib/.DS_Store
ADDED
Binary file
|
data/lib/chargebee.rb
CHANGED
@@ -11,6 +11,7 @@ require File.dirname(__FILE__) + '/chargebee/models/model'
|
|
11
11
|
require File.dirname(__FILE__) + '/chargebee/models/subscription'
|
12
12
|
require File.dirname(__FILE__) + '/chargebee/models/customer'
|
13
13
|
require File.dirname(__FILE__) + '/chargebee/models/card'
|
14
|
+
require File.dirname(__FILE__) + '/chargebee/models/third_party_payment_method'
|
14
15
|
require File.dirname(__FILE__) + '/chargebee/models/address'
|
15
16
|
require File.dirname(__FILE__) + '/chargebee/models/transaction'
|
16
17
|
require File.dirname(__FILE__) + '/chargebee/models/invoice'
|
@@ -32,7 +33,7 @@ require File.dirname(__FILE__) + '/chargebee/models/download'
|
|
32
33
|
|
33
34
|
module ChargeBee
|
34
35
|
|
35
|
-
VERSION = '2.0.
|
36
|
+
VERSION = '2.0.7'
|
36
37
|
|
37
38
|
@@default_env = nil
|
38
39
|
@@verify_ca_certs = true
|
Binary file
|
data/lib/chargebee/result.rb
CHANGED
@@ -22,6 +22,11 @@ module ChargeBee
|
|
22
22
|
return card;
|
23
23
|
end
|
24
24
|
|
25
|
+
def third_party_payment_method()
|
26
|
+
third_party_payment_method = get(:third_party_payment_method, ThirdPartyPaymentMethod);
|
27
|
+
return third_party_payment_method;
|
28
|
+
end
|
29
|
+
|
25
30
|
def invoice()
|
26
31
|
invoice = get(:invoice, Invoice,
|
27
32
|
{:line_items => Invoice::LineItem, :discounts => Invoice::Discount, :taxes => Invoice::Tax, :line_item_taxes => Invoice::LineItemTax, :linked_payments => Invoice::LinkedPayment, :applied_credits => Invoice::AppliedCredit, :adjustment_credit_notes => Invoice::AdjustmentCreditNote, :issued_credit_notes => Invoice::IssuedCreditNote, :linked_orders => Invoice::LinkedOrder, :notes => Invoice::Note, :shipping_address => Invoice::ShippingAddress, :billing_address => Invoice::BillingAddress});
|
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: 2.0.
|
4
|
+
version: 2.0.7
|
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: 2016-06-
|
12
|
+
date: 2016-06-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json_pure
|
@@ -82,7 +82,9 @@ files:
|
|
82
82
|
- README.rdoc
|
83
83
|
- Rakefile
|
84
84
|
- chargebee.gemspec
|
85
|
+
- lib/.DS_Store
|
85
86
|
- lib/chargebee.rb
|
87
|
+
- lib/chargebee/.DS_Store
|
86
88
|
- lib/chargebee/environment.rb
|
87
89
|
- lib/chargebee/errors.rb
|
88
90
|
- lib/chargebee/list_result.rb
|
@@ -107,6 +109,7 @@ files:
|
|
107
109
|
- lib/chargebee/models/portal_session.rb
|
108
110
|
- lib/chargebee/models/subscription.rb
|
109
111
|
- lib/chargebee/models/subscription_estimate.rb
|
112
|
+
- lib/chargebee/models/third_party_payment_method.rb
|
110
113
|
- lib/chargebee/models/transaction.rb
|
111
114
|
- lib/chargebee/request.rb
|
112
115
|
- lib/chargebee/rest.rb
|