espago 0.0.7 → 0.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: de8b8e55693c7ee06cacae9fdee82f050bff5220
4
- data.tar.gz: 193136c199576fb87cee0704785a47b6018f64d0
3
+ metadata.gz: 9f06d19baed38844060f767678cc1e08df0b64ba
4
+ data.tar.gz: 40a3d3d5c42aa5751425aaf3f6ac47428f2b5168
5
5
  SHA512:
6
- metadata.gz: 0f20d84b3a51b22138745c1154e0c4ed3047a2ee636aa2a6aabec2d3dbc1329f28662f0d8120935110d5141330d1168733f5af69c31be62286ed53f751a6336a
7
- data.tar.gz: 31f1a209a0283eb47548b40a13761a59dd4cf27715003a5b0228184c73f90b3c4b3e89b720ac2e3b448499b445ac17bde88931103736284cae3dc41fe37703af
6
+ metadata.gz: 76c47df71036ce428b04abf38ab7dad46122b4d92cc833dfc7280634845dc3ae6e4f3d6b053b95cf4d6f648bd4f6d155ba111a9d3c78688357b15dc5e4370d42
7
+ data.tar.gz: cb034408241e51d751e5bdeb37fce8015a0fbe5e8825c827d2d1b4a6a4241a8ed965e7f7a068599d91b125a8189689dd507e2df1f9da4408eb006a3c1963788b
@@ -2,3 +2,4 @@ language: ruby
2
2
  rvm:
3
3
  - "1.9.2"
4
4
  - "1.9.3"
5
+ - "2.0.0"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- espago (0.0.7)
4
+ espago (0.0.9)
5
5
  facets
6
6
  faraday
7
7
 
@@ -1,3 +1,3 @@
1
1
  module Espago
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: espago
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotrek
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-09-11 00:00:00.000000000 Z
12
+ date: 2013-09-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday
@@ -157,27 +157,16 @@ files:
157
157
  - lib/espago/api_connection.rb
158
158
  - lib/espago/api_connection/delete_charges.rb
159
159
  - lib/espago/api_connection/delete_clients.rb
160
- - lib/espago/api_connection/delete_invoice_items.rb
161
- - lib/espago/api_connection/delete_plans.rb
162
- - lib/espago/api_connection/delete_subscriptions.rb
163
160
  - lib/espago/api_connection/get_charges.rb
164
161
  - lib/espago/api_connection/get_clients.rb
165
- - lib/espago/api_connection/get_invoice_items.rb
166
- - lib/espago/api_connection/get_invoices.rb
167
- - lib/espago/api_connection/get_plans.rb
168
- - lib/espago/api_connection/get_subscriptions.rb
169
162
  - lib/espago/api_connection/get_tokens.rb
170
163
  - lib/espago/api_connection/post_charges.rb
171
164
  - lib/espago/api_connection/post_charges_refund.rb
172
165
  - lib/espago/api_connection/post_clients.rb
173
166
  - lib/espago/api_connection/post_clients_authorize.rb
174
167
  - lib/espago/api_connection/post_complete.rb
175
- - lib/espago/api_connection/post_invoice_items.rb
176
- - lib/espago/api_connection/post_plans.rb
177
- - lib/espago/api_connection/post_subscriptions.rb
178
168
  - lib/espago/api_connection/post_tokens.rb
179
169
  - lib/espago/api_connection/put_clients.rb
180
- - lib/espago/api_connection/put_plans.rb
181
170
  - lib/espago/client.rb
182
171
  - lib/espago/error.rb
183
172
  - lib/espago/error/api_error.rb
@@ -1,13 +0,0 @@
1
- module Espago
2
- class ApiConnection
3
- class DeleteInvoiceItems
4
- def initialize(connection)
5
- @connection = connection
6
- end
7
-
8
- def request(params = {})
9
- @connection.delete "invoice_items/#{params[:invoice_item_id]}"
10
- end
11
- end
12
- end
13
- end
@@ -1,13 +0,0 @@
1
- module Espago
2
- class ApiConnection
3
- class DeletePlans
4
- def initialize(connection)
5
- @connection = connection
6
- end
7
-
8
- def request(params = {})
9
- @connection.delete "plans/#{params[:plan_id]}"
10
- end
11
- end
12
- end
13
- end
@@ -1,13 +0,0 @@
1
- module Espago
2
- class ApiConnection
3
- class DeleteSubscriptions
4
- def initialize(connection)
5
- @connection = connection
6
- end
7
-
8
- def request(params = {})
9
- @connection.delete "subscriptions/#{params[:subscription_id]}"
10
- end
11
- end
12
- end
13
- end
@@ -1,13 +0,0 @@
1
- module Espago
2
- class ApiConnection
3
- class GetInvoiceItems
4
- def initialize(connection)
5
- @connection = connection
6
- end
7
-
8
- def request(params = {})
9
- @connection.get "invoice_items/#{params[:invoice_item_id]}"
10
- end
11
- end
12
- end
13
- end
@@ -1,17 +0,0 @@
1
- module Espago
2
- class ApiConnection
3
- class GetInvoices
4
- def initialize(connection)
5
- @connection = connection
6
- end
7
-
8
- def request(params = {})
9
- if params[:invoice_id]
10
- @connection.get "invoices/#{params[:invoice_id]}"
11
- else
12
- @connection.get "invoices", params
13
- end
14
- end
15
- end
16
- end
17
- end
@@ -1,17 +0,0 @@
1
- module Espago
2
- class ApiConnection
3
- class GetPlans
4
- def initialize(connection)
5
- @connection = connection
6
- end
7
-
8
- def request(params = {})
9
- if params[:plan_id]
10
- @connection.get "plans/#{params[:plan_id]}"
11
- else
12
- @connection.get "plans", params
13
- end
14
- end
15
- end
16
- end
17
- end
@@ -1,17 +0,0 @@
1
- module Espago
2
- class ApiConnection
3
- class GetSubscriptions
4
- def initialize(connection)
5
- @connection = connection
6
- end
7
-
8
- def request(params = {})
9
- if params[:subscription_id]
10
- @connection.get "subscriptions/#{params[:subscription_id]}"
11
- else
12
- @connection.get "subscriptions", params
13
- end
14
- end
15
- end
16
- end
17
- end
@@ -1,13 +0,0 @@
1
- module Espago
2
- class ApiConnection
3
- class PostInvoiceItems
4
- def initialize(connection)
5
- @connection = connection
6
- end
7
-
8
- def request(params = {})
9
- @connection.post "invoice_items", params
10
- end
11
- end
12
- end
13
- end
@@ -1,13 +0,0 @@
1
- module Espago
2
- class ApiConnection
3
- class PostPlans
4
- def initialize(connection)
5
- @connection = connection
6
- end
7
-
8
- def request(params = {})
9
- @connection.post "plans", params
10
- end
11
- end
12
- end
13
- end
@@ -1,13 +0,0 @@
1
- module Espago
2
- class ApiConnection
3
- class PostSubscriptions
4
- def initialize(connection)
5
- @connection = connection
6
- end
7
-
8
- def request(params = {})
9
- @connection.post "subscriptions", params
10
- end
11
- end
12
- end
13
- end
@@ -1,13 +0,0 @@
1
- module Espago
2
- class ApiConnection
3
- class PutPlans
4
- def initialize(connection)
5
- @connection = connection
6
- end
7
-
8
- def request(params = {})
9
- @connection.put "plans/#{params[:plan_id]}", params
10
- end
11
- end
12
- end
13
- end