paysio 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- paysio (1.0.5)
4
+ paysio (1.0.6)
5
5
  activemodel
6
6
  activesupport
7
7
  oj (> 2)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.6
1
+ 1.0.7
@@ -2,8 +2,8 @@ module Paysio
2
2
  module Actions
3
3
  module List
4
4
  module ClassMethods
5
- def all
6
- response = Paysio::Client.request(:get, path)
5
+ def all(params = {})
6
+ response = Paysio::Client.request(:get, path, params)
7
7
  Resource.build_from(response)
8
8
  end
9
9
 
@@ -35,7 +35,6 @@ module Paysio
35
35
 
36
36
  def execute(opts)
37
37
  RestClient::Request.execute(opts)
38
- puts "test"
39
38
  rescue RuntimeError => e
40
39
  case e.http_code.to_i
41
40
  when 400
@@ -1,3 +1,3 @@
1
1
  module Paysio
2
- VERSION = '1.0.6'
2
+ VERSION = '1.0.7'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paysio
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-30 00:00:00.000000000 Z
12
+ date: 2013-03-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client