regaliator 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +16 -0
  3. data/.ruby-version +1 -0
  4. data/Gemfile +4 -0
  5. data/Guardfile +36 -0
  6. data/LICENSE.txt +22 -0
  7. data/README.md +116 -0
  8. data/Rakefile +11 -0
  9. data/lib/regaliator/api_version_error.rb +7 -0
  10. data/lib/regaliator/client.rb +9 -0
  11. data/lib/regaliator/configuration.rb +25 -0
  12. data/lib/regaliator/endpoint.rb +17 -0
  13. data/lib/regaliator/request.rb +100 -0
  14. data/lib/regaliator/response.rb +40 -0
  15. data/lib/regaliator/v15/account.rb +11 -0
  16. data/lib/regaliator/v15/bill.rb +23 -0
  17. data/lib/regaliator/v15/biller.rb +15 -0
  18. data/lib/regaliator/v15/client.rb +32 -0
  19. data/lib/regaliator/v15/rate.rb +15 -0
  20. data/lib/regaliator/v15/transaction.rb +23 -0
  21. data/lib/regaliator/v15.rb +7 -0
  22. data/lib/regaliator/v30/account.rb +11 -0
  23. data/lib/regaliator/v30/bill.rb +35 -0
  24. data/lib/regaliator/v30/biller.rb +19 -0
  25. data/lib/regaliator/v30/client.rb +32 -0
  26. data/lib/regaliator/v30/rate.rb +15 -0
  27. data/lib/regaliator/v30/transaction.rb +11 -0
  28. data/lib/regaliator/v30.rb +7 -0
  29. data/lib/regaliator/v31.rb +14 -0
  30. data/lib/regaliator/version.rb +3 -0
  31. data/lib/regaliator.rb +59 -0
  32. data/regaliator.gemspec +34 -0
  33. data/test/fixtures/vcr_cassettes/V31/account/failed_info.yml +48 -0
  34. data/test/fixtures/vcr_cassettes/V31/account/successful_info.yml +50 -0
  35. data/test/fixtures/vcr_cassettes/V31/bill/create.yml +52 -0
  36. data/test/fixtures/vcr_cassettes/V31/bill/list.yml +71 -0
  37. data/test/fixtures/vcr_cassettes/V31/bill/pay.yml +52 -0
  38. data/test/fixtures/vcr_cassettes/V31/bill/refresh.yml +52 -0
  39. data/test/fixtures/vcr_cassettes/V31/bill/show.yml +51 -0
  40. data/test/fixtures/vcr_cassettes/V31/bill/update.yml +53 -0
  41. data/test/fixtures/vcr_cassettes/V31/bill/xdata.yml +51 -0
  42. data/test/fixtures/vcr_cassettes/V31/biller/credentials.yml +256 -0
  43. data/test/fixtures/vcr_cassettes/V31/biller/topups.yml +209 -0
  44. data/test/fixtures/vcr_cassettes/V31/biller/utilities.yml +611 -0
  45. data/test/fixtures/vcr_cassettes/V31/rate/history.yml +50 -0
  46. data/test/fixtures/vcr_cassettes/V31/rate/list.yml +50 -0
  47. data/test/fixtures/vcr_cassettes/V31/transaction/list.yml +52 -0
  48. data/test/fixtures/vcr_cassettes/V31/transaction/search.yml +52 -0
  49. data/test/fixtures/vcr_cassettes/v15/account/failed_info.yml +50 -0
  50. data/test/fixtures/vcr_cassettes/v15/account/successful_info.yml +52 -0
  51. data/test/fixtures/vcr_cassettes/v15/bill/check.yml +52 -0
  52. data/test/fixtures/vcr_cassettes/v15/bill/consult.yml +52 -0
  53. data/test/fixtures/vcr_cassettes/v15/bill/index.yml +176 -0
  54. data/test/fixtures/vcr_cassettes/v15/bill/pay.yml +52 -0
  55. data/test/fixtures/vcr_cassettes/v15/biller/topups.yml +212 -0
  56. data/test/fixtures/vcr_cassettes/v15/biller/utilities.yml +611 -0
  57. data/test/fixtures/vcr_cassettes/v15/rate/history.yml +52 -0
  58. data/test/fixtures/vcr_cassettes/v15/rate/list.yml +52 -0
  59. data/test/fixtures/vcr_cassettes/v15/transaction/cancel.yml +52 -0
  60. data/test/fixtures/vcr_cassettes/v15/transaction/list.yml +54 -0
  61. data/test/fixtures/vcr_cassettes/v15/transaction/pay.yml +52 -0
  62. data/test/fixtures/vcr_cassettes/v15/transaction/reverse.yml +52 -0
  63. data/test/fixtures/vcr_cassettes/v15/transaction/search.yml +54 -0
  64. data/test/fixtures/vcr_cassettes/v30/account/failed_info.yml +48 -0
  65. data/test/fixtures/vcr_cassettes/v30/account/successful_info.yml +50 -0
  66. data/test/fixtures/vcr_cassettes/v30/bill/create.yml +56 -0
  67. data/test/fixtures/vcr_cassettes/v30/bill/list.yml +54 -0
  68. data/test/fixtures/vcr_cassettes/v30/bill/pay.yml +56 -0
  69. data/test/fixtures/vcr_cassettes/v30/bill/refresh.yml +56 -0
  70. data/test/fixtures/vcr_cassettes/v30/bill/show.yml +55 -0
  71. data/test/fixtures/vcr_cassettes/v30/bill/update.yml +57 -0
  72. data/test/fixtures/vcr_cassettes/v30/bill/xdata.yml +50 -0
  73. data/test/fixtures/vcr_cassettes/v30/biller/credentials.yml +54 -0
  74. data/test/fixtures/vcr_cassettes/v30/biller/topups.yml +54 -0
  75. data/test/fixtures/vcr_cassettes/v30/biller/utilities.yml +54 -0
  76. data/test/fixtures/vcr_cassettes/v30/rate/history.yml +54 -0
  77. data/test/fixtures/vcr_cassettes/v30/rate/list.yml +54 -0
  78. data/test/fixtures/vcr_cassettes/v30/transaction/list.yml +56 -0
  79. data/test/fixtures/vcr_cassettes/v30/transaction/search.yml +56 -0
  80. data/test/regaliator/api_version_error_test.rb +14 -0
  81. data/test/regaliator/client_test.rb +19 -0
  82. data/test/regaliator/configuration_test.rb +115 -0
  83. data/test/regaliator/endpoint_test.rb +19 -0
  84. data/test/regaliator/v15/account_test.rb +37 -0
  85. data/test/regaliator/v15/bill_test.rb +67 -0
  86. data/test/regaliator/v15/biller_test.rb +35 -0
  87. data/test/regaliator/v15/client_test.rb +23 -0
  88. data/test/regaliator/v15/rate_test.rb +35 -0
  89. data/test/regaliator/v15/transaction_test.rb +62 -0
  90. data/test/regaliator/v15_test.rb +10 -0
  91. data/test/regaliator/v30/account_test.rb +37 -0
  92. data/test/regaliator/v30/bill_test.rb +80 -0
  93. data/test/regaliator/v30/biller_test.rb +44 -0
  94. data/test/regaliator/v30/client_test.rb +23 -0
  95. data/test/regaliator/v30/rate_test.rb +35 -0
  96. data/test/regaliator/v30/transaction_test.rb +35 -0
  97. data/test/regaliator/v30_test.rb +10 -0
  98. data/test/regaliator/v31/account_test.rb +37 -0
  99. data/test/regaliator/v31/bill_test.rb +84 -0
  100. data/test/regaliator/v31/biller_test.rb +44 -0
  101. data/test/regaliator/v31/client_test.rb +23 -0
  102. data/test/regaliator/v31/rate_test.rb +35 -0
  103. data/test/regaliator/v31/transaction_test.rb +35 -0
  104. data/test/regaliator/v31_test.rb +10 -0
  105. data/test/regaliator/version_test.rb +10 -0
  106. data/test/regaliator_test.rb +66 -0
  107. data/test/test_helper.rb +26 -0
  108. metadata +394 -0
@@ -0,0 +1,44 @@
1
+ require 'test_helper'
2
+
3
+ module Regaliator
4
+ module V31
5
+ class BillerTest < Minitest::Test
6
+ def setup
7
+ @config = Configuration.new.tap do |config|
8
+ config.version = API_VERSION
9
+ config.api_key = 'testing'
10
+ config.secret_key = 'testing'
11
+ config.host = 'api.regalii.dev'
12
+ config.use_ssl = false
13
+ end
14
+ end
15
+
16
+ def test_list_credentials
17
+ VCR.use_cassette('V31/biller/credentials') do |cassette|
18
+ response = Regaliator.new(@config).biller.credentials
19
+
20
+ assert response.success?
21
+ assert_equal extract_hsh(cassette), response.data
22
+ end
23
+ end
24
+
25
+ def test_list_topups
26
+ VCR.use_cassette('V31/biller/topups') do |cassette|
27
+ response = Regaliator.new(@config).biller.topups
28
+
29
+ assert response.success?
30
+ assert_equal extract_hsh(cassette), response.data
31
+ end
32
+ end
33
+
34
+ def test_list_utilities
35
+ VCR.use_cassette('V31/biller/utilities') do |cassette|
36
+ response = Regaliator.new(@config).biller.utilities
37
+
38
+ assert response.success?
39
+ assert_equal extract_hsh(cassette), response.data
40
+ end
41
+ end
42
+ end
43
+ end
44
+ end
@@ -0,0 +1,23 @@
1
+ require 'test_helper'
2
+
3
+ module Regaliator
4
+ module V31
5
+ class ClientTest < Minitest::Test
6
+ def setup
7
+ @config = Configuration.new
8
+ @subject = Client.new(@config)
9
+ end
10
+
11
+ def test_versioned_client_inherits_from_client
12
+ assert_operator V31::Client, :<, Regaliator::Client
13
+ end
14
+
15
+ %i(account bill biller rate transaction).each do |endpoint|
16
+ define_method("test_#{endpoint}_method_returns_#{endpoint}_instance") do
17
+ klass = "::Regaliator::V31::#{endpoint.capitalize}"
18
+ assert_instance_of Kernel.const_get(klass), @subject.send(endpoint)
19
+ end
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,35 @@
1
+ require 'test_helper'
2
+
3
+ module Regaliator
4
+ module V31
5
+ class RateTest < Minitest::Test
6
+ def setup
7
+ @config = Configuration.new.tap do |config|
8
+ config.version = API_VERSION
9
+ config.api_key = 'testing'
10
+ config.secret_key = 'testing'
11
+ config.host = 'api.regalii.dev'
12
+ config.use_ssl = false
13
+ end
14
+ end
15
+
16
+ def test_list
17
+ VCR.use_cassette('V31/rate/list') do |cassette|
18
+ response = Regaliator.new(@config).rate.list
19
+
20
+ assert response.success?
21
+ assert_equal extract_hsh(cassette), response.data
22
+ end
23
+ end
24
+
25
+ def test_history
26
+ VCR.use_cassette('V31/rate/history') do |cassette|
27
+ response = Regaliator.new(@config).rate.history
28
+
29
+ assert response.success?
30
+ assert_equal extract_hsh(cassette), response.data
31
+ end
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,35 @@
1
+ require 'test_helper'
2
+
3
+ module Regaliator
4
+ module V31
5
+ class TransactionTest < Minitest::Test
6
+ def setup
7
+ @config = Configuration.new.tap do |config|
8
+ config.version = API_VERSION
9
+ config.api_key = 'testing'
10
+ config.secret_key = 'testing'
11
+ config.host = 'api.regalii.dev'
12
+ config.use_ssl = false
13
+ end
14
+ end
15
+
16
+ def test_list
17
+ VCR.use_cassette('V31/transaction/list') do |cassette|
18
+ response = Regaliator.new(@config).transaction.list
19
+
20
+ assert response.success?
21
+ assert_equal extract_hsh(cassette), response.data
22
+ end
23
+ end
24
+
25
+ def test_with_search
26
+ VCR.use_cassette('V31/transaction/search') do |cassette|
27
+ response = Regaliator.new(@config).transaction.list('q[id_eq]' => 1)
28
+
29
+ assert response.success?
30
+ assert_equal extract_hsh(cassette), response.data
31
+ end
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,10 @@
1
+ require 'test_helper'
2
+
3
+ module Regaliator
4
+ class V31Test < Minitest::Test
5
+ def test_api_version_constant_is_defined
6
+ assert V31.const_defined?(:API_VERSION)
7
+ assert_match /\A\d+\.\d+\z/, V31::API_VERSION, 'format unexpected'
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,10 @@
1
+ require 'test_helper'
2
+
3
+ module Regaliator
4
+ class V30Test < Minitest::Test
5
+ def test_api_version_constant_is_defined
6
+ assert Regaliator.const_defined?(:VERSION)
7
+ assert_match /\A\d+\.\d+.\d+(?:\.\w+)?\z/, Regaliator::VERSION, 'format unexpected'
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,66 @@
1
+ require 'test_helper'
2
+
3
+ class RegaliatorTest < Minitest::Test
4
+ def test_api_versions_constant_is_defined
5
+ assert Regaliator.const_defined?(:API_VERSIONS)
6
+ end
7
+
8
+ def test_api_versions_has_good_format
9
+ Regaliator::API_VERSIONS.each do |version, client|
10
+ assert_instance_of String, version
11
+ assert_instance_of Class, client
12
+ end
13
+ end
14
+
15
+ def test_configuration_has_default_instance
16
+ assert_instance_of Regaliator::Configuration, Regaliator.configuration
17
+ assert_same Regaliator.configuration, Regaliator.configuration
18
+ end
19
+
20
+ def test_configuration_can_be_overrided
21
+ subject = Regaliator.configuration
22
+ Regaliator.configure { |config| config.host = 'https://myhost' }
23
+ assert_equal 'https://myhost', subject.host
24
+ end
25
+
26
+ def test_new_method_accepts_several_types
27
+ Regaliator.configure do |config|
28
+ config.version = '3.0'
29
+ config.host = 'api.regalii.dev'
30
+ config.api_key = 'testing'
31
+ config.secret_key = 'testing'
32
+ end
33
+ assert_same Regaliator.configuration, Regaliator.new.config
34
+
35
+ config = Regaliator::Configuration.new.tap do |config|
36
+ config.version = '1.5'
37
+ config.host = 'api.regalii.dev'
38
+ config.api_key = 'testing'
39
+ config.secret_key = 'testing'
40
+ end
41
+ subject = Regaliator.new(config)
42
+ assert_same config, subject.config
43
+ assert_equal '1.5', subject.config.version
44
+
45
+ subject = Regaliator.new(version: '1.5')
46
+ refute_same Regaliator.configuration, subject.config
47
+ assert_equal '1.5', subject.config.version
48
+ assert_equal '3.0', Regaliator.new.config.version
49
+ end
50
+
51
+ def test_module_handles_endpoints_directly
52
+ client_methods = Regaliator::Client.public_instance_methods
53
+
54
+ Regaliator::API_VERSIONS.each do |version, client|
55
+ Regaliator.configure { |config| config.version = version }
56
+ module_version = Regaliator.const_get("#{client.to_s.split('::')[1]}")
57
+
58
+ (client.public_instance_methods - client_methods).each do |method|
59
+ klass = module_version.const_get(method.to_s.capitalize)
60
+ assert_instance_of klass, Regaliator.send(method)
61
+ end
62
+ end
63
+
64
+ Regaliator.configure { |config| config.version = nil }
65
+ end
66
+ end
@@ -0,0 +1,26 @@
1
+ require 'minitest/reporters'
2
+ Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new
3
+
4
+ require 'minitest/autorun'
5
+ require 'regaliator'
6
+ require 'vcr'
7
+ require 'json'
8
+
9
+ VCR.configure do |c|
10
+ c.cassette_library_dir = 'test/fixtures/vcr_cassettes'
11
+ c.hook_into :webmock
12
+ c.before_record do |i|
13
+ i.response.body.force_encoding('UTF-8')
14
+ end
15
+ end
16
+
17
+ def extract_hsh(cassette)
18
+ response = cassette.serializable_hash['http_interactions'][0]['response']
19
+
20
+ JSON.parse(response['body']['string']).tap do |body|
21
+ pagination = response['headers']['X-Pagination']
22
+ if !pagination.nil? && !pagination.empty?
23
+ body.merge!('pagination' => JSON.parse(response['headers']['X-Pagination'][0]))
24
+ end
25
+ end
26
+ end
metadata ADDED
@@ -0,0 +1,394 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: regaliator
3
+ version: !ruby/object:Gem::Version
4
+ version: 4.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Hesham El-Nahhas
8
+ - Leigh Halliday
9
+ - Geoffrey Roguelon
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+ date: 2017-01-20 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: json
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - "~>"
20
+ - !ruby/object:Gem::Version
21
+ version: '2.0'
22
+ - - ">="
23
+ - !ruby/object:Gem::Version
24
+ version: 2.0.3
25
+ type: :runtime
26
+ prerelease: false
27
+ version_requirements: !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - "~>"
30
+ - !ruby/object:Gem::Version
31
+ version: '2.0'
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: 2.0.3
35
+ - !ruby/object:Gem::Dependency
36
+ name: bundler
37
+ requirement: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '1.7'
42
+ type: :development
43
+ prerelease: false
44
+ version_requirements: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '1.7'
49
+ - !ruby/object:Gem::Dependency
50
+ name: guard
51
+ requirement: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '2.11'
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ version: 2.11.0
59
+ type: :development
60
+ prerelease: false
61
+ version_requirements: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - "~>"
64
+ - !ruby/object:Gem::Version
65
+ version: '2.11'
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: 2.11.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: guard-minitest
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '2.4'
76
+ - - ">="
77
+ - !ruby/object:Gem::Version
78
+ version: 2.4.6
79
+ type: :development
80
+ prerelease: false
81
+ version_requirements: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - "~>"
84
+ - !ruby/object:Gem::Version
85
+ version: '2.4'
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: 2.4.6
89
+ - !ruby/object:Gem::Dependency
90
+ name: minitest-reporters
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: '1.1'
96
+ - - ">="
97
+ - !ruby/object:Gem::Version
98
+ version: 1.1.13
99
+ type: :development
100
+ prerelease: false
101
+ version_requirements: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - "~>"
104
+ - !ruby/object:Gem::Version
105
+ version: '1.1'
106
+ - - ">="
107
+ - !ruby/object:Gem::Version
108
+ version: 1.1.13
109
+ - !ruby/object:Gem::Dependency
110
+ name: minitest
111
+ requirement: !ruby/object:Gem::Requirement
112
+ requirements:
113
+ - - "~>"
114
+ - !ruby/object:Gem::Version
115
+ version: '5.8'
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ version: 5.8.4
119
+ type: :development
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - "~>"
124
+ - !ruby/object:Gem::Version
125
+ version: '5.8'
126
+ - - ">="
127
+ - !ruby/object:Gem::Version
128
+ version: 5.8.4
129
+ - !ruby/object:Gem::Dependency
130
+ name: rake
131
+ requirement: !ruby/object:Gem::Requirement
132
+ requirements:
133
+ - - "~>"
134
+ - !ruby/object:Gem::Version
135
+ version: '10.0'
136
+ type: :development
137
+ prerelease: false
138
+ version_requirements: !ruby/object:Gem::Requirement
139
+ requirements:
140
+ - - "~>"
141
+ - !ruby/object:Gem::Version
142
+ version: '10.0'
143
+ - !ruby/object:Gem::Dependency
144
+ name: vcr
145
+ requirement: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - "~>"
148
+ - !ruby/object:Gem::Version
149
+ version: '2.9'
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: 2.9.3
153
+ type: :development
154
+ prerelease: false
155
+ version_requirements: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '2.9'
160
+ - - ">="
161
+ - !ruby/object:Gem::Version
162
+ version: 2.9.3
163
+ - !ruby/object:Gem::Dependency
164
+ name: webmock
165
+ requirement: !ruby/object:Gem::Requirement
166
+ requirements:
167
+ - - "~>"
168
+ - !ruby/object:Gem::Version
169
+ version: '1.19'
170
+ type: :development
171
+ prerelease: false
172
+ version_requirements: !ruby/object:Gem::Requirement
173
+ requirements:
174
+ - - "~>"
175
+ - !ruby/object:Gem::Version
176
+ version: '1.19'
177
+ description: A Ruby client for consuming Regalii's APIs.
178
+ email:
179
+ - hesham@regalii.com
180
+ - leigh@regalii.com
181
+ - geoffrey@regalii.com
182
+ executables: []
183
+ extensions: []
184
+ extra_rdoc_files: []
185
+ files:
186
+ - ".gitignore"
187
+ - ".ruby-version"
188
+ - Gemfile
189
+ - Guardfile
190
+ - LICENSE.txt
191
+ - README.md
192
+ - Rakefile
193
+ - lib/regaliator.rb
194
+ - lib/regaliator/api_version_error.rb
195
+ - lib/regaliator/client.rb
196
+ - lib/regaliator/configuration.rb
197
+ - lib/regaliator/endpoint.rb
198
+ - lib/regaliator/request.rb
199
+ - lib/regaliator/response.rb
200
+ - lib/regaliator/v15.rb
201
+ - lib/regaliator/v15/account.rb
202
+ - lib/regaliator/v15/bill.rb
203
+ - lib/regaliator/v15/biller.rb
204
+ - lib/regaliator/v15/client.rb
205
+ - lib/regaliator/v15/rate.rb
206
+ - lib/regaliator/v15/transaction.rb
207
+ - lib/regaliator/v30.rb
208
+ - lib/regaliator/v30/account.rb
209
+ - lib/regaliator/v30/bill.rb
210
+ - lib/regaliator/v30/biller.rb
211
+ - lib/regaliator/v30/client.rb
212
+ - lib/regaliator/v30/rate.rb
213
+ - lib/regaliator/v30/transaction.rb
214
+ - lib/regaliator/v31.rb
215
+ - lib/regaliator/version.rb
216
+ - regaliator.gemspec
217
+ - test/fixtures/vcr_cassettes/V31/account/failed_info.yml
218
+ - test/fixtures/vcr_cassettes/V31/account/successful_info.yml
219
+ - test/fixtures/vcr_cassettes/V31/bill/create.yml
220
+ - test/fixtures/vcr_cassettes/V31/bill/list.yml
221
+ - test/fixtures/vcr_cassettes/V31/bill/pay.yml
222
+ - test/fixtures/vcr_cassettes/V31/bill/refresh.yml
223
+ - test/fixtures/vcr_cassettes/V31/bill/show.yml
224
+ - test/fixtures/vcr_cassettes/V31/bill/update.yml
225
+ - test/fixtures/vcr_cassettes/V31/bill/xdata.yml
226
+ - test/fixtures/vcr_cassettes/V31/biller/credentials.yml
227
+ - test/fixtures/vcr_cassettes/V31/biller/topups.yml
228
+ - test/fixtures/vcr_cassettes/V31/biller/utilities.yml
229
+ - test/fixtures/vcr_cassettes/V31/rate/history.yml
230
+ - test/fixtures/vcr_cassettes/V31/rate/list.yml
231
+ - test/fixtures/vcr_cassettes/V31/transaction/list.yml
232
+ - test/fixtures/vcr_cassettes/V31/transaction/search.yml
233
+ - test/fixtures/vcr_cassettes/v15/account/failed_info.yml
234
+ - test/fixtures/vcr_cassettes/v15/account/successful_info.yml
235
+ - test/fixtures/vcr_cassettes/v15/bill/check.yml
236
+ - test/fixtures/vcr_cassettes/v15/bill/consult.yml
237
+ - test/fixtures/vcr_cassettes/v15/bill/index.yml
238
+ - test/fixtures/vcr_cassettes/v15/bill/pay.yml
239
+ - test/fixtures/vcr_cassettes/v15/biller/topups.yml
240
+ - test/fixtures/vcr_cassettes/v15/biller/utilities.yml
241
+ - test/fixtures/vcr_cassettes/v15/rate/history.yml
242
+ - test/fixtures/vcr_cassettes/v15/rate/list.yml
243
+ - test/fixtures/vcr_cassettes/v15/transaction/cancel.yml
244
+ - test/fixtures/vcr_cassettes/v15/transaction/list.yml
245
+ - test/fixtures/vcr_cassettes/v15/transaction/pay.yml
246
+ - test/fixtures/vcr_cassettes/v15/transaction/reverse.yml
247
+ - test/fixtures/vcr_cassettes/v15/transaction/search.yml
248
+ - test/fixtures/vcr_cassettes/v30/account/failed_info.yml
249
+ - test/fixtures/vcr_cassettes/v30/account/successful_info.yml
250
+ - test/fixtures/vcr_cassettes/v30/bill/create.yml
251
+ - test/fixtures/vcr_cassettes/v30/bill/list.yml
252
+ - test/fixtures/vcr_cassettes/v30/bill/pay.yml
253
+ - test/fixtures/vcr_cassettes/v30/bill/refresh.yml
254
+ - test/fixtures/vcr_cassettes/v30/bill/show.yml
255
+ - test/fixtures/vcr_cassettes/v30/bill/update.yml
256
+ - test/fixtures/vcr_cassettes/v30/bill/xdata.yml
257
+ - test/fixtures/vcr_cassettes/v30/biller/credentials.yml
258
+ - test/fixtures/vcr_cassettes/v30/biller/topups.yml
259
+ - test/fixtures/vcr_cassettes/v30/biller/utilities.yml
260
+ - test/fixtures/vcr_cassettes/v30/rate/history.yml
261
+ - test/fixtures/vcr_cassettes/v30/rate/list.yml
262
+ - test/fixtures/vcr_cassettes/v30/transaction/list.yml
263
+ - test/fixtures/vcr_cassettes/v30/transaction/search.yml
264
+ - test/regaliator/api_version_error_test.rb
265
+ - test/regaliator/client_test.rb
266
+ - test/regaliator/configuration_test.rb
267
+ - test/regaliator/endpoint_test.rb
268
+ - test/regaliator/v15/account_test.rb
269
+ - test/regaliator/v15/bill_test.rb
270
+ - test/regaliator/v15/biller_test.rb
271
+ - test/regaliator/v15/client_test.rb
272
+ - test/regaliator/v15/rate_test.rb
273
+ - test/regaliator/v15/transaction_test.rb
274
+ - test/regaliator/v15_test.rb
275
+ - test/regaliator/v30/account_test.rb
276
+ - test/regaliator/v30/bill_test.rb
277
+ - test/regaliator/v30/biller_test.rb
278
+ - test/regaliator/v30/client_test.rb
279
+ - test/regaliator/v30/rate_test.rb
280
+ - test/regaliator/v30/transaction_test.rb
281
+ - test/regaliator/v30_test.rb
282
+ - test/regaliator/v31/account_test.rb
283
+ - test/regaliator/v31/bill_test.rb
284
+ - test/regaliator/v31/biller_test.rb
285
+ - test/regaliator/v31/client_test.rb
286
+ - test/regaliator/v31/rate_test.rb
287
+ - test/regaliator/v31/transaction_test.rb
288
+ - test/regaliator/v31_test.rb
289
+ - test/regaliator/version_test.rb
290
+ - test/regaliator_test.rb
291
+ - test/test_helper.rb
292
+ homepage: https://www.regalii.com/api
293
+ licenses:
294
+ - MIT
295
+ metadata: {}
296
+ post_install_message:
297
+ rdoc_options: []
298
+ require_paths:
299
+ - lib
300
+ required_ruby_version: !ruby/object:Gem::Requirement
301
+ requirements:
302
+ - - ">="
303
+ - !ruby/object:Gem::Version
304
+ version: 2.1.0
305
+ - - "<="
306
+ - !ruby/object:Gem::Version
307
+ version: '2.4'
308
+ required_rubygems_version: !ruby/object:Gem::Requirement
309
+ requirements:
310
+ - - ">="
311
+ - !ruby/object:Gem::Version
312
+ version: '0'
313
+ requirements: []
314
+ rubyforge_project:
315
+ rubygems_version: 2.6.8
316
+ signing_key:
317
+ specification_version: 4
318
+ summary: Ruby wrapper for Regalii's API
319
+ test_files:
320
+ - test/fixtures/vcr_cassettes/V31/account/failed_info.yml
321
+ - test/fixtures/vcr_cassettes/V31/account/successful_info.yml
322
+ - test/fixtures/vcr_cassettes/V31/bill/create.yml
323
+ - test/fixtures/vcr_cassettes/V31/bill/list.yml
324
+ - test/fixtures/vcr_cassettes/V31/bill/pay.yml
325
+ - test/fixtures/vcr_cassettes/V31/bill/refresh.yml
326
+ - test/fixtures/vcr_cassettes/V31/bill/show.yml
327
+ - test/fixtures/vcr_cassettes/V31/bill/update.yml
328
+ - test/fixtures/vcr_cassettes/V31/bill/xdata.yml
329
+ - test/fixtures/vcr_cassettes/V31/biller/credentials.yml
330
+ - test/fixtures/vcr_cassettes/V31/biller/topups.yml
331
+ - test/fixtures/vcr_cassettes/V31/biller/utilities.yml
332
+ - test/fixtures/vcr_cassettes/V31/rate/history.yml
333
+ - test/fixtures/vcr_cassettes/V31/rate/list.yml
334
+ - test/fixtures/vcr_cassettes/V31/transaction/list.yml
335
+ - test/fixtures/vcr_cassettes/V31/transaction/search.yml
336
+ - test/fixtures/vcr_cassettes/v15/account/failed_info.yml
337
+ - test/fixtures/vcr_cassettes/v15/account/successful_info.yml
338
+ - test/fixtures/vcr_cassettes/v15/bill/check.yml
339
+ - test/fixtures/vcr_cassettes/v15/bill/consult.yml
340
+ - test/fixtures/vcr_cassettes/v15/bill/index.yml
341
+ - test/fixtures/vcr_cassettes/v15/bill/pay.yml
342
+ - test/fixtures/vcr_cassettes/v15/biller/topups.yml
343
+ - test/fixtures/vcr_cassettes/v15/biller/utilities.yml
344
+ - test/fixtures/vcr_cassettes/v15/rate/history.yml
345
+ - test/fixtures/vcr_cassettes/v15/rate/list.yml
346
+ - test/fixtures/vcr_cassettes/v15/transaction/cancel.yml
347
+ - test/fixtures/vcr_cassettes/v15/transaction/list.yml
348
+ - test/fixtures/vcr_cassettes/v15/transaction/pay.yml
349
+ - test/fixtures/vcr_cassettes/v15/transaction/reverse.yml
350
+ - test/fixtures/vcr_cassettes/v15/transaction/search.yml
351
+ - test/fixtures/vcr_cassettes/v30/account/failed_info.yml
352
+ - test/fixtures/vcr_cassettes/v30/account/successful_info.yml
353
+ - test/fixtures/vcr_cassettes/v30/bill/create.yml
354
+ - test/fixtures/vcr_cassettes/v30/bill/list.yml
355
+ - test/fixtures/vcr_cassettes/v30/bill/pay.yml
356
+ - test/fixtures/vcr_cassettes/v30/bill/refresh.yml
357
+ - test/fixtures/vcr_cassettes/v30/bill/show.yml
358
+ - test/fixtures/vcr_cassettes/v30/bill/update.yml
359
+ - test/fixtures/vcr_cassettes/v30/bill/xdata.yml
360
+ - test/fixtures/vcr_cassettes/v30/biller/credentials.yml
361
+ - test/fixtures/vcr_cassettes/v30/biller/topups.yml
362
+ - test/fixtures/vcr_cassettes/v30/biller/utilities.yml
363
+ - test/fixtures/vcr_cassettes/v30/rate/history.yml
364
+ - test/fixtures/vcr_cassettes/v30/rate/list.yml
365
+ - test/fixtures/vcr_cassettes/v30/transaction/list.yml
366
+ - test/fixtures/vcr_cassettes/v30/transaction/search.yml
367
+ - test/regaliator/api_version_error_test.rb
368
+ - test/regaliator/client_test.rb
369
+ - test/regaliator/configuration_test.rb
370
+ - test/regaliator/endpoint_test.rb
371
+ - test/regaliator/v15/account_test.rb
372
+ - test/regaliator/v15/bill_test.rb
373
+ - test/regaliator/v15/biller_test.rb
374
+ - test/regaliator/v15/client_test.rb
375
+ - test/regaliator/v15/rate_test.rb
376
+ - test/regaliator/v15/transaction_test.rb
377
+ - test/regaliator/v15_test.rb
378
+ - test/regaliator/v30/account_test.rb
379
+ - test/regaliator/v30/bill_test.rb
380
+ - test/regaliator/v30/biller_test.rb
381
+ - test/regaliator/v30/client_test.rb
382
+ - test/regaliator/v30/rate_test.rb
383
+ - test/regaliator/v30/transaction_test.rb
384
+ - test/regaliator/v30_test.rb
385
+ - test/regaliator/v31/account_test.rb
386
+ - test/regaliator/v31/bill_test.rb
387
+ - test/regaliator/v31/biller_test.rb
388
+ - test/regaliator/v31/client_test.rb
389
+ - test/regaliator/v31/rate_test.rb
390
+ - test/regaliator/v31/transaction_test.rb
391
+ - test/regaliator/v31_test.rb
392
+ - test/regaliator/version_test.rb
393
+ - test/regaliator_test.rb
394
+ - test/test_helper.rb