payson_api 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/payson_api/version.rb +1 -1
- data/lib/payson_api.rb +0 -1
- data/test/fixtures/config.yml +2 -5
- data/test/integration/payment_details_test.rb +1 -4
- metadata +43 -59
data/lib/payson_api/version.rb
CHANGED
data/lib/payson_api.rb
CHANGED
data/test/fixtures/config.yml
CHANGED
@@ -8,9 +8,7 @@ class PaymentDetailsTest < Test::Unit::TestCase
|
|
8
8
|
include TestHelper
|
9
9
|
|
10
10
|
def test_generated_hash_from_payment_details
|
11
|
-
|
12
|
-
#token = 'b28c31bb-1499-4988-9fc6-fa915c287e90'
|
13
|
-
token = '4d7328b0-9883-44e3-a19d-b25cef65a3b8'
|
11
|
+
token = acquire_token
|
14
12
|
|
15
13
|
if !token
|
16
14
|
puts "Token was not received, please look into your test config"
|
@@ -19,6 +17,5 @@ class PaymentDetailsTest < Test::Unit::TestCase
|
|
19
17
|
|
20
18
|
payment_details = PaysonAPI::Request::PaymentDetails.new(token)
|
21
19
|
response = PaysonAPI::Client.get_payment_details(payment_details)
|
22
|
-
#p response
|
23
20
|
end
|
24
21
|
end
|
metadata
CHANGED
@@ -1,56 +1,45 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: payson_api
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 2
|
8
|
-
- 0
|
9
|
-
version: 0.2.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.1
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Christopher Svensson
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-07-27 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: rake
|
22
|
-
|
23
|
-
|
24
|
-
requirements:
|
25
|
-
- -
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
|
28
|
-
- 0
|
29
|
-
version: "0"
|
16
|
+
requirement: &70179510187580 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
30
22
|
type: :development
|
31
|
-
version_requirements: *id001
|
32
|
-
- !ruby/object:Gem::Dependency
|
33
|
-
name: guard-test
|
34
23
|
prerelease: false
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
24
|
+
version_requirements: *70179510187580
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: guard-test
|
27
|
+
requirement: &70179510187120 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
42
33
|
type: :development
|
43
|
-
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70179510187120
|
44
36
|
description: Client that enables access to the Payson payment gateway API.
|
45
|
-
email:
|
37
|
+
email:
|
46
38
|
- stoffus@stoffus.com
|
47
39
|
executables: []
|
48
|
-
|
49
40
|
extensions: []
|
50
|
-
|
51
41
|
extra_rdoc_files: []
|
52
|
-
|
53
|
-
files:
|
42
|
+
files:
|
54
43
|
- .gitignore
|
55
44
|
- .travis.yml
|
56
45
|
- Gemfile
|
@@ -85,37 +74,32 @@ files:
|
|
85
74
|
- test/integration/payment_details_test.rb
|
86
75
|
- test/integration/payment_test.rb
|
87
76
|
- test/test_helper.rb
|
88
|
-
has_rdoc: true
|
89
77
|
homepage: https://github.com/stoffus/payson_api
|
90
|
-
licenses:
|
78
|
+
licenses:
|
91
79
|
- MIT
|
92
80
|
post_install_message:
|
93
81
|
rdoc_options: []
|
94
|
-
|
95
|
-
require_paths:
|
82
|
+
require_paths:
|
96
83
|
- lib
|
97
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
requirements:
|
106
|
-
- -
|
107
|
-
- !ruby/object:Gem::Version
|
108
|
-
|
109
|
-
- 0
|
110
|
-
version: "0"
|
84
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
85
|
+
none: false
|
86
|
+
requirements:
|
87
|
+
- - ! '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
91
|
+
none: false
|
92
|
+
requirements:
|
93
|
+
- - ! '>='
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
111
96
|
requirements: []
|
112
|
-
|
113
97
|
rubyforge_project:
|
114
|
-
rubygems_version: 1.
|
98
|
+
rubygems_version: 1.8.17
|
115
99
|
signing_key:
|
116
100
|
specification_version: 3
|
117
101
|
summary: Client for Payson API
|
118
|
-
test_files:
|
102
|
+
test_files:
|
119
103
|
- test/fixtures/config.yml
|
120
104
|
- test/fixtures/payment_data.yml
|
121
105
|
- test/integration/config_test.rb
|