chargebee 2.0.8 → 2.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 29f7424e3194b1f815405463e1f9b55d54a3a1f8
4
- data.tar.gz: 353342d3cab8e3b1926ecdad8e39e8efcc617b7d
3
+ metadata.gz: 27285e7041f4500cf1f7de4b143204e74f6bdd26
4
+ data.tar.gz: 5c4066aa3535aff304d2153900b8434289d4e794
5
5
  SHA512:
6
- metadata.gz: 644b9cdabf10a4311bd75e3d6692e277b673e0c80a79353249b542b193ff48fbc82db745ee8e6afbc3930c531b32e5faaf01a86deddec8879c6223e573c62647
7
- data.tar.gz: 9b52641765b3f1a1b423be9c1f6d5836e4935f598e3056809e4e3b56fa602b9a859e19c5d4b02c3d3f95e2e4f5340b7bd3a42ac846fce19e0630848908258e7b
6
+ metadata.gz: 16a40435a4cd0ba8b4d7a57da4946071e8ca10cd339f64e38bcb4e44eea53bcf9c29315778807340ce85cc1169620053c8277e9439f0871ba191e899101ea2e7
7
+ data.tar.gz: 1e28dca48c77c35caa809eca4d1c612c0a04afe07ecf248f67debccfc68942bea048313769a959bf0d9788ce7c88630be21ee7e0d5e2b915d32dcd36ffde5c66
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ###v2.0.9 (2016-07-06)
2
+ * * *
3
+ ** APIs added**:
4
+ A new endpoint to delete a coupon added. See : https://apidocs.chargebee.com/docs/api/coupons#delete_a_coupon
5
+
1
6
  ###v2.0.8 (2016-07-04)
2
7
  * * *
3
8
  ** APIs updated**:
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'
8
- s.date = '2016-07-04'
7
+ s.version = '2.0.9'
8
+ s.date = '2016-07-06'
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
@@ -33,7 +33,7 @@ require File.dirname(__FILE__) + '/chargebee/models/download'
33
33
 
34
34
  module ChargeBee
35
35
 
36
- VERSION = '2.0.8'
36
+ VERSION = '2.0.9'
37
37
 
38
38
  @@default_env = nil
39
39
  @@verify_ca_certs = true
@@ -21,5 +21,9 @@ module ChargeBee
21
21
  Request.send('get', uri_path("coupons",id.to_s), {}, env, headers)
22
22
  end
23
23
 
24
+ def self.delete(id, env=nil, headers={})
25
+ Request.send('post', uri_path("coupons",id.to_s,"delete"), {}, env, headers)
26
+ end
27
+
24
28
  end # ~Coupon
25
29
  end # ~ChargeBee
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.8
4
+ version: 2.0.9
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-07-04 00:00:00.000000000 Z
12
+ date: 2016-07-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json_pure