paid 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/History.txt +6 -0
  3. data/VERSION +1 -1
  4. data/lib/paid/customer.rb +5 -0
  5. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5cf60ea77b7acfc99071d6db990d4195175af0ea
4
- data.tar.gz: f361f3abfc1f00e8bd74eef54d5580e7430f957c
3
+ metadata.gz: 85f93439bfdd249dfb3e08c72f5cff9356d0b915
4
+ data.tar.gz: 4beb90e81ebac943e33388a24f93cdde3215a008
5
5
  SHA512:
6
- metadata.gz: bf6b618afcd7f6fafc04c6e0977dc85882a1cd6720448cb2888e46611c672995d4766290ab9a0b5e04acb8700ff6696059022dc8c2485d8a0aeacaa662356e8a
7
- data.tar.gz: 3147c05ee6c18660ae692cef8e6f46fac39f6c74dc6a59ca2309a07763ca74f825d37724c1ba3e80980edde8f2b15bf2c4c08fa68eb29fb955f01aae150cd6c7
6
+ metadata.gz: 2ca6f7c069f190448756a5a0b1d4b3d1c2c7b05096590722388ade7ddcc1404d28a41177bbc740983fe6eeab054a0050fd7e008b04deffbcea021e7f93053b01
7
+ data.tar.gz: a60b56f633b139aaf3bae30d5eeb770fe2f87ad6027e478e9b40677e58808fb69f2eda8b9e1267374f62c14905345f43526550e468a58f6607f854e3206817dc
@@ -1,3 +1,9 @@
1
+ === 1.1.1 2015-11-25
2
+
3
+ * 1 minor enhancements:
4
+ * Adding generate_resources endpoint to customers.
5
+
6
+
1
7
  === 1.1.0 2015-07-21
2
8
 
3
9
  * 2 enhancements:
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.1.1
@@ -66,6 +66,11 @@ module Paid
66
66
  Util.constantize(:Invoice).new(method.execute, method)
67
67
  end
68
68
 
69
+ def generate_invoices(params={}, headers={})
70
+ method = APIMethod.new(:post, "/customers/:id/generate_invoices", params, headers, self)
71
+ APIList.new(:Invoice, method.execute, method)
72
+ end
73
+
69
74
  def invoices(params={}, headers={})
70
75
  params = ParamsBuilder.merge(params, {
71
76
  :customer => self.id,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paid
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Calhoun
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-07-22 00:00:00.000000000 Z
12
+ date: 2015-11-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client
@@ -221,3 +221,4 @@ test_files:
221
221
  - test/paid/util_test.rb
222
222
  - test/test_data.rb
223
223
  - test/test_helper.rb
224
+ has_rdoc: