paid 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.txt +6 -0
- data/VERSION +1 -1
- data/lib/paid/customer.rb +5 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85f93439bfdd249dfb3e08c72f5cff9356d0b915
|
4
|
+
data.tar.gz: 4beb90e81ebac943e33388a24f93cdde3215a008
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ca6f7c069f190448756a5a0b1d4b3d1c2c7b05096590722388ade7ddcc1404d28a41177bbc740983fe6eeab054a0050fd7e008b04deffbcea021e7f93053b01
|
7
|
+
data.tar.gz: a60b56f633b139aaf3bae30d5eeb770fe2f87ad6027e478e9b40677e58808fb69f2eda8b9e1267374f62c14905345f43526550e468a58f6607f854e3206817dc
|
data/History.txt
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.1
|
data/lib/paid/customer.rb
CHANGED
@@ -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.
|
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-
|
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:
|