omise 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +9 -0
  3. data/bin/console +9 -0
  4. data/bin/rake +17 -0
  5. data/lib/omise/all.rb +3 -0
  6. data/lib/omise/attributes.rb +12 -3
  7. data/lib/omise/card_list.rb +1 -6
  8. data/lib/omise/charge.rb +5 -0
  9. data/lib/omise/charge_list.rb +10 -0
  10. data/lib/omise/customer.rb +12 -2
  11. data/lib/omise/dispute.rb +10 -0
  12. data/lib/omise/document.rb +15 -0
  13. data/lib/omise/document_list.rb +15 -0
  14. data/lib/omise/error.rb +3 -5
  15. data/lib/omise/link.rb +37 -0
  16. data/lib/omise/list.rb +53 -2
  17. data/lib/omise/recipient.rb +5 -0
  18. data/lib/omise/refund.rb +4 -0
  19. data/lib/omise/refund_list.rb +0 -5
  20. data/lib/omise/resource.rb +27 -13
  21. data/lib/omise/search.rb +9 -0
  22. data/lib/omise/search_scope.rb +59 -0
  23. data/lib/omise/testing/resource.rb +1 -1
  24. data/lib/omise/transfer.rb +4 -0
  25. data/lib/omise/util.rb +44 -1
  26. data/lib/omise/version.rb +1 -1
  27. data/omise.gemspec +2 -1
  28. data/test/fixtures/api.omise.co/charges-get-limit-20-offset-0.json +59 -0
  29. data/test/fixtures/api.omise.co/charges-get-limit-20-offset-20.json +59 -0
  30. data/test/fixtures/api.omise.co/disputes/dspt_test_5089off452g5m5te7xs/documents-get.json +19 -0
  31. data/test/fixtures/api.omise.co/disputes/dspt_test_5089off452g5m5te7xs/documents-post.json +7 -0
  32. data/test/fixtures/api.omise.co/disputes/dspt_test_5089off452g5m5te7xs/documents/docu_test_55869onwfm2g3bsw8d8-delete.json +6 -0
  33. data/test/fixtures/api.omise.co/disputes/dspt_test_5089off452g5m5te7xs/documents/docu_test_55869onwfm2g3bsw8d8-get.json +7 -0
  34. data/test/fixtures/api.omise.co/links-get.json +94 -0
  35. data/test/fixtures/api.omise.co/links-post.json +82 -0
  36. data/test/fixtures/api.omise.co/links/link_test_55pcclmznvrv9lc7r9s-get.json +82 -0
  37. data/test/fixtures/api.omise.co/search-get-scope-charge.json +62 -0
  38. data/test/omise/test_attributes.rb +79 -0
  39. data/test/omise/test_charge.rb +5 -0
  40. data/test/omise/test_customer.rb +11 -0
  41. data/test/omise/test_dispute.rb +9 -0
  42. data/test/omise/test_document.rb +33 -0
  43. data/test/omise/test_link.rb +36 -0
  44. data/test/omise/test_list.rb +101 -0
  45. data/test/omise/test_recipient.rb +5 -0
  46. data/test/omise/test_resource.rb +2 -1
  47. data/test/omise/test_search.rb +10 -0
  48. data/test/omise/test_search_scope.rb +138 -0
  49. data/test/omise/test_transfer.rb +1 -1
  50. data/test/omise/test_util.rb +65 -0
  51. data/test/support.rb +2 -2
  52. metadata +59 -4
@@ -39,4 +39,9 @@ class TestRecipient < Omise::Test
39
39
  def test_that_a_recipient_has_a_bank_account
40
40
  assert_instance_of Omise::BankAccount, @recipient.bank_account
41
41
  end
42
+
43
+ def test_that_search_returns_a_scoped_search
44
+ assert_instance_of Omise::SearchScope, Omise::Recipient.search
45
+ assert_equal "recipient", Omise::Recipient.search.scope
46
+ end
42
47
  end
@@ -24,8 +24,9 @@ class TestResource < Omise::Test
24
24
 
25
25
  def test_that_the_path_is_set
26
26
  resource = Omise::Resource.new(Omise.api_url, "/charges", "skey_xxx")
27
+ uri = URI.parse("https://api.omise.co/charges")
27
28
 
28
- assert_equal "https://api.omise.co/charges", resource.uri
29
+ assert_equal uri, resource.uri
29
30
  end
30
31
 
31
32
  def test_that_the_key_is_set
@@ -0,0 +1,10 @@
1
+ require "support"
2
+
3
+ class TestSearch < Omise::Test
4
+ def test_that_we_can_execute_a_search_query
5
+ search = Omise::Search.execute(scope: "charge")
6
+
7
+ assert_instance_of Omise::Search, search
8
+ assert_equal "search", search.object
9
+ end
10
+ end
@@ -0,0 +1,138 @@
1
+ require "support"
2
+
3
+ class TestSearchScope < Omise::Test
4
+ setup do
5
+ @scope = Omise::SearchScope.new(:charge, %w[created status])
6
+ end
7
+
8
+ def test_that_we_can_initialize_a_new_search_scope
9
+ assert_instance_of Omise::SearchScope, @scope
10
+ assert_equal "charge", @scope.scope
11
+ assert_nil @scope.to_attributes[:query]
12
+ refute @scope.to_attributes.key?(:filters)
13
+ assert_nil @scope.to_attributes[:filters]
14
+ assert_nil @scope.to_attributes[:order]
15
+ assert_nil @scope.to_attributes[:page]
16
+ end
17
+
18
+ def test_that_we_can_execute_a_new_search_scope
19
+ assert_instance_of Omise::Search, @scope.execute
20
+ end
21
+
22
+ def test_that_we_can_filter_a_scope
23
+ scope = @scope.filter(created: "today")
24
+
25
+ refute_equal @scope.object_id, scope.object_id
26
+ assert_equal "charge", scope.scope
27
+ assert_nil scope.to_attributes[:query]
28
+ assert scope.to_attributes.key?(:filters)
29
+ assert_instance_of Hash, scope.to_attributes[:filters]
30
+ assert_equal "today", scope.to_attributes[:filters][:created]
31
+ assert_nil scope.to_attributes[:order]
32
+ assert_nil scope.to_attributes[:page]
33
+ end
34
+
35
+ def test_that_we_can_filter_a_scope_more_than_once
36
+ scope = @scope.filter(created: "today").filter(status: "failed")
37
+
38
+ refute_equal @scope.object_id, scope.object_id
39
+ assert_equal "charge", scope.scope
40
+ assert_nil scope.to_attributes[:query]
41
+ assert scope.to_attributes.key?(:filters)
42
+ assert_instance_of Hash, scope.to_attributes[:filters]
43
+ assert_equal "today", scope.to_attributes[:filters][:created]
44
+ assert_equal "failed", scope.to_attributes[:filters][:status]
45
+ assert_nil scope.to_attributes[:order]
46
+ assert_nil scope.to_attributes[:page]
47
+ end
48
+
49
+ def test_that_we_can_query_a_scope
50
+ scope = @scope.query("john")
51
+
52
+ refute_equal @scope.object_id, scope.object_id
53
+ assert_equal "charge", scope.scope
54
+ assert_equal "john", scope.to_attributes[:query]
55
+ refute scope.to_attributes.key?(:filters)
56
+ assert_nil scope.to_attributes[:filters]
57
+ assert_nil scope.to_attributes[:order]
58
+ assert_nil scope.to_attributes[:page]
59
+ end
60
+
61
+ def test_that_we_can_query_a_scope_more_than_once
62
+ scope = @scope.query("john").query("john doe")
63
+
64
+ refute_equal @scope.object_id, scope.object_id
65
+ assert_equal "charge", scope.scope
66
+ assert_equal "john doe", scope.to_attributes[:query]
67
+ refute scope.to_attributes.key?(:filters)
68
+ assert_nil scope.to_attributes[:filters]
69
+ assert_nil scope.to_attributes[:order]
70
+ assert_nil scope.to_attributes[:page]
71
+ end
72
+
73
+ def test_that_we_can_order_a_scope
74
+ scope = @scope.order("reverse_chronological")
75
+
76
+ refute_equal @scope.object_id, scope.object_id
77
+ assert_equal "charge", scope.scope
78
+ assert_nil scope.to_attributes[:query]
79
+ refute scope.to_attributes.key?(:filters)
80
+ assert_nil scope.to_attributes[:filters]
81
+ assert_equal "reverse_chronological", scope.to_attributes[:order]
82
+ assert_nil scope.to_attributes[:page]
83
+ end
84
+
85
+ def test_that_we_can_order_a_scope_more_than_once
86
+ scope = @scope.order("reverse_chronological").order("chronological")
87
+
88
+ refute_equal @scope.object_id, scope.object_id
89
+ assert_equal "charge", scope.scope
90
+ assert_nil scope.to_attributes[:query]
91
+ refute scope.to_attributes.key?(:filters)
92
+ assert_nil scope.to_attributes[:filters]
93
+ assert_equal "chronological", scope.to_attributes[:order]
94
+ assert_nil scope.to_attributes[:page]
95
+ end
96
+
97
+ def test_that_we_can_page_a_scope
98
+ scope = @scope.page(2)
99
+
100
+ refute_equal @scope.object_id, scope.object_id
101
+ assert_equal "charge", scope.scope
102
+ assert_nil scope.to_attributes[:query]
103
+ refute scope.to_attributes.key?(:filters)
104
+ assert_nil scope.to_attributes[:filters]
105
+ assert_nil scope.to_attributes[:order]
106
+ assert_equal 2, scope.to_attributes[:page]
107
+ end
108
+
109
+ def test_that_we_can_page_a_scope_more_than_once
110
+ scope = @scope.page(2).page(3)
111
+
112
+ refute_equal @scope.object_id, scope.object_id
113
+ assert_equal "charge", scope.scope
114
+ assert_nil scope.to_attributes[:query]
115
+ refute scope.to_attributes.key?(:filters)
116
+ assert_nil scope.to_attributes[:filters]
117
+ assert_nil scope.to_attributes[:order]
118
+ assert_equal 3, scope.to_attributes[:page]
119
+ end
120
+
121
+ def test_that_we_can_chain_all_methods_together
122
+ scope = @scope.filter(created: "today")
123
+ .filter(status: "failed")
124
+ .query("john")
125
+ .order("reverse_chronological")
126
+ .page(2)
127
+
128
+ refute_equal @scope.object_id, scope.object_id
129
+ assert_equal "charge", scope.scope
130
+ assert_equal "john", scope.to_attributes[:query]
131
+ assert scope.to_attributes.key?(:filters)
132
+ assert_instance_of Hash, scope.to_attributes[:filters]
133
+ assert_equal "today", scope.to_attributes[:filters][:created]
134
+ assert_equal "failed", scope.to_attributes[:filters][:status]
135
+ assert_equal "reverse_chronological", scope.to_attributes[:order]
136
+ assert_equal 2, scope.to_attributes[:page]
137
+ end
138
+ end
@@ -8,7 +8,7 @@ class TestTransfer < Omise::Test
8
8
  def test_that_we_can_create_a_transfer
9
9
  transfer = Omise::Transfer.create
10
10
 
11
- assert_instance_of Omise::Transfer, @transfer
11
+ assert_instance_of Omise::Transfer, transfer
12
12
  end
13
13
 
14
14
  def test_that_we_can_retrieve_a_transfer
@@ -0,0 +1,65 @@
1
+ require "support"
2
+
3
+ class TestSearchScope < Omise::Test
4
+ def test_that_we_can_typecast_a_simple_object
5
+ object = Omise::Util.typecast({})
6
+
7
+ assert_instance_of Omise::OmiseObject, object
8
+ end
9
+
10
+ def test_that_we_can_typecast_a_recognized_omise_object
11
+ charge = Omise::Util.typecast({ "object" => "charge" })
12
+
13
+ assert_instance_of Omise::Charge, charge
14
+ end
15
+
16
+ def test_that_we_can_load_an_object_from_a_json_response
17
+ response = JSON.dump({})
18
+ object = Omise::Util.load_response(response)
19
+
20
+ assert_instance_of Hash, object
21
+ end
22
+
23
+ def test_that_an_exception_is_raised_when_a_json_response_comes_back_as_an_error
24
+ response = JSON.dump({
25
+ "object" => "error",
26
+ "code" => "not_found",
27
+ "message" => "the request object was not found",
28
+ })
29
+
30
+ error = assert_raises(Omise::Error) { Omise::Util.load_response(response) }
31
+ assert_equal "the request object was not found (not_found)", error.message
32
+ assert_equal "not_found", error.code
33
+ end
34
+
35
+ def test_that_we_can_generate_a_query
36
+ assert_equal "hash[key]=value",
37
+ CGI.unescape(Omise::Util.generate_query(hash: { key: "value" }))
38
+ assert_equal "hash[key][key]=value",
39
+ CGI.unescape(Omise::Util.generate_query(hash: { key: { key: "value" } }))
40
+ assert_equal "array[]=1&array[]=2",
41
+ CGI.unescape(Omise::Util.generate_query(array: [1, 2]))
42
+ assert_equal "namespace[]=1&namespace[]=2",
43
+ CGI.unescape(Omise::Util.generate_query([1, 2], "namespace"))
44
+ assert_equal "string=hello",
45
+ CGI.unescape(Omise::Util.generate_query(string: "hello"))
46
+ assert_equal "number=1",
47
+ CGI.unescape(Omise::Util.generate_query(number: 1))
48
+ assert_equal "boolean=true",
49
+ CGI.unescape(Omise::Util.generate_query(boolean: true))
50
+ assert_equal "boolean=false",
51
+ CGI.unescape(Omise::Util.generate_query(boolean: false))
52
+ assert_equal "missing=",
53
+ CGI.unescape(Omise::Util.generate_query(missing: nil))
54
+
55
+ # Putting it all together
56
+ assert_equal "array[]=a&array[]=b&boolean[no]=false&boolean[yes]=true&hash[key][key]=value&missing=&string=hello",
57
+ CGI.unescape(Omise::Util.generate_query({
58
+ array: ["a", "b"],
59
+ boolean: { no: false, yes: true },
60
+ hash: { key: { key: "value" } },
61
+ missing: nil,
62
+ string: "hello",
63
+ }))
64
+ end
65
+ end
@@ -9,8 +9,8 @@ module Omise
9
9
  class Test < Minitest::Test
10
10
  def before_setup
11
11
  Omise.test!
12
- Omise.api_key = "pkey_test_4yq6tct0llin5nyyi5l"
13
- Omise.vault_key = "skey_test_4yq6tct0lblmed2yp5t"
12
+ Omise.vault_key = "pkey_test_4yq6tct0llin5nyyi5l"
13
+ Omise.api_key = "skey_test_4yq6tct0lblmed2yp5t"
14
14
  Omise.api_version = nil
15
15
  end
16
16
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omise
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robin Clart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-01 00:00:00.000000000 Z
11
+ date: 2016-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: pry
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: minitest
71
85
  requirement: !ruby/object:Gem::Requirement
@@ -93,6 +107,8 @@ files:
93
107
  - LICENSE.txt
94
108
  - README.md
95
109
  - Rakefile
110
+ - bin/console
111
+ - bin/rake
96
112
  - data/ca_certificates.pem
97
113
  - lib/omise.rb
98
114
  - lib/omise/account.rb
@@ -103,17 +119,23 @@ files:
103
119
  - lib/omise/card.rb
104
120
  - lib/omise/card_list.rb
105
121
  - lib/omise/charge.rb
122
+ - lib/omise/charge_list.rb
106
123
  - lib/omise/config.rb
107
124
  - lib/omise/customer.rb
108
125
  - lib/omise/dispute.rb
126
+ - lib/omise/document.rb
127
+ - lib/omise/document_list.rb
109
128
  - lib/omise/error.rb
110
129
  - lib/omise/event.rb
130
+ - lib/omise/link.rb
111
131
  - lib/omise/list.rb
112
132
  - lib/omise/object.rb
113
133
  - lib/omise/recipient.rb
114
134
  - lib/omise/refund.rb
115
135
  - lib/omise/refund_list.rb
116
136
  - lib/omise/resource.rb
137
+ - lib/omise/search.rb
138
+ - lib/omise/search_scope.rb
117
139
  - lib/omise/singleton_resource.rb
118
140
  - lib/omise/testing/resource.rb
119
141
  - lib/omise/token.rb
@@ -125,6 +147,8 @@ files:
125
147
  - omise.gemspec
126
148
  - test/fixtures/api.omise.co/account-get.json
127
149
  - test/fixtures/api.omise.co/balance-get.json
150
+ - test/fixtures/api.omise.co/charges-get-limit-20-offset-0.json
151
+ - test/fixtures/api.omise.co/charges-get-limit-20-offset-20.json
128
152
  - test/fixtures/api.omise.co/charges-get.json
129
153
  - test/fixtures/api.omise.co/charges-post.json
130
154
  - test/fixtures/api.omise.co/charges/404-get.json
@@ -152,15 +176,23 @@ files:
152
176
  - test/fixtures/api.omise.co/disputes/closed-get.json
153
177
  - test/fixtures/api.omise.co/disputes/dspt_test_5089off452g5m5te7xs-get.json
154
178
  - test/fixtures/api.omise.co/disputes/dspt_test_5089off452g5m5te7xs-patch.json
179
+ - test/fixtures/api.omise.co/disputes/dspt_test_5089off452g5m5te7xs/documents-get.json
180
+ - test/fixtures/api.omise.co/disputes/dspt_test_5089off452g5m5te7xs/documents-post.json
181
+ - test/fixtures/api.omise.co/disputes/dspt_test_5089off452g5m5te7xs/documents/docu_test_55869onwfm2g3bsw8d8-delete.json
182
+ - test/fixtures/api.omise.co/disputes/dspt_test_5089off452g5m5te7xs/documents/docu_test_55869onwfm2g3bsw8d8-get.json
155
183
  - test/fixtures/api.omise.co/disputes/open-get.json
156
184
  - test/fixtures/api.omise.co/disputes/pending-get.json
157
185
  - test/fixtures/api.omise.co/events-get.json
158
186
  - test/fixtures/api.omise.co/events/evnt_test_52cin5n9bb6lytxduh9-get.json
187
+ - test/fixtures/api.omise.co/links-get.json
188
+ - test/fixtures/api.omise.co/links-post.json
189
+ - test/fixtures/api.omise.co/links/link_test_55pcclmznvrv9lc7r9s-get.json
159
190
  - test/fixtures/api.omise.co/recipients-get.json
160
191
  - test/fixtures/api.omise.co/recipients-post.json
161
192
  - test/fixtures/api.omise.co/recipients/recp_test_50894vc13y8z4v51iuc-delete.json
162
193
  - test/fixtures/api.omise.co/recipients/recp_test_50894vc13y8z4v51iuc-get.json
163
194
  - test/fixtures/api.omise.co/recipients/recp_test_50894vc13y8z4v51iuc-patch.json
195
+ - test/fixtures/api.omise.co/search-get-scope-charge.json
164
196
  - test/fixtures/api.omise.co/transactions-get.json
165
197
  - test/fixtures/api.omise.co/transactions/trxn_test_4yq7duwb9jts1vxgqua-get.json
166
198
  - test/fixtures/api.omise.co/transactions/trxn_test_4yqafnvlztbf3908vs1-get.json
@@ -173,18 +205,25 @@ files:
173
205
  - test/fixtures/vault.omise.co/tokens-post.json
174
206
  - test/fixtures/vault.omise.co/tokens/tokn_test_4yq8lbecl0q6dsjzxr5-get.json
175
207
  - test/omise/test_account.rb
208
+ - test/omise/test_attributes.rb
176
209
  - test/omise/test_balance.rb
177
210
  - test/omise/test_card.rb
178
211
  - test/omise/test_charge.rb
179
212
  - test/omise/test_customer.rb
180
213
  - test/omise/test_dispute.rb
214
+ - test/omise/test_document.rb
181
215
  - test/omise/test_event.rb
216
+ - test/omise/test_link.rb
217
+ - test/omise/test_list.rb
182
218
  - test/omise/test_recipient.rb
183
219
  - test/omise/test_refund.rb
184
220
  - test/omise/test_resource.rb
221
+ - test/omise/test_search.rb
222
+ - test/omise/test_search_scope.rb
185
223
  - test/omise/test_token.rb
186
224
  - test/omise/test_transaction.rb
187
225
  - test/omise/test_transfer.rb
226
+ - test/omise/test_util.rb
188
227
  - test/support.rb
189
228
  homepage: https://www.omise.co/
190
229
  licenses:
@@ -206,13 +245,15 @@ required_rubygems_version: !ruby/object:Gem::Requirement
206
245
  version: '0'
207
246
  requirements: []
208
247
  rubyforge_project:
209
- rubygems_version: 2.4.5
248
+ rubygems_version: 2.5.1
210
249
  signing_key:
211
250
  specification_version: 4
212
251
  summary: Omise Ruby client
213
252
  test_files:
214
253
  - test/fixtures/api.omise.co/account-get.json
215
254
  - test/fixtures/api.omise.co/balance-get.json
255
+ - test/fixtures/api.omise.co/charges-get-limit-20-offset-0.json
256
+ - test/fixtures/api.omise.co/charges-get-limit-20-offset-20.json
216
257
  - test/fixtures/api.omise.co/charges-get.json
217
258
  - test/fixtures/api.omise.co/charges-post.json
218
259
  - test/fixtures/api.omise.co/charges/404-get.json
@@ -240,15 +281,23 @@ test_files:
240
281
  - test/fixtures/api.omise.co/disputes/closed-get.json
241
282
  - test/fixtures/api.omise.co/disputes/dspt_test_5089off452g5m5te7xs-get.json
242
283
  - test/fixtures/api.omise.co/disputes/dspt_test_5089off452g5m5te7xs-patch.json
284
+ - test/fixtures/api.omise.co/disputes/dspt_test_5089off452g5m5te7xs/documents-get.json
285
+ - test/fixtures/api.omise.co/disputes/dspt_test_5089off452g5m5te7xs/documents-post.json
286
+ - test/fixtures/api.omise.co/disputes/dspt_test_5089off452g5m5te7xs/documents/docu_test_55869onwfm2g3bsw8d8-delete.json
287
+ - test/fixtures/api.omise.co/disputes/dspt_test_5089off452g5m5te7xs/documents/docu_test_55869onwfm2g3bsw8d8-get.json
243
288
  - test/fixtures/api.omise.co/disputes/open-get.json
244
289
  - test/fixtures/api.omise.co/disputes/pending-get.json
245
290
  - test/fixtures/api.omise.co/events-get.json
246
291
  - test/fixtures/api.omise.co/events/evnt_test_52cin5n9bb6lytxduh9-get.json
292
+ - test/fixtures/api.omise.co/links-get.json
293
+ - test/fixtures/api.omise.co/links-post.json
294
+ - test/fixtures/api.omise.co/links/link_test_55pcclmznvrv9lc7r9s-get.json
247
295
  - test/fixtures/api.omise.co/recipients-get.json
248
296
  - test/fixtures/api.omise.co/recipients-post.json
249
297
  - test/fixtures/api.omise.co/recipients/recp_test_50894vc13y8z4v51iuc-delete.json
250
298
  - test/fixtures/api.omise.co/recipients/recp_test_50894vc13y8z4v51iuc-get.json
251
299
  - test/fixtures/api.omise.co/recipients/recp_test_50894vc13y8z4v51iuc-patch.json
300
+ - test/fixtures/api.omise.co/search-get-scope-charge.json
252
301
  - test/fixtures/api.omise.co/transactions-get.json
253
302
  - test/fixtures/api.omise.co/transactions/trxn_test_4yq7duwb9jts1vxgqua-get.json
254
303
  - test/fixtures/api.omise.co/transactions/trxn_test_4yqafnvlztbf3908vs1-get.json
@@ -261,17 +310,23 @@ test_files:
261
310
  - test/fixtures/vault.omise.co/tokens-post.json
262
311
  - test/fixtures/vault.omise.co/tokens/tokn_test_4yq8lbecl0q6dsjzxr5-get.json
263
312
  - test/omise/test_account.rb
313
+ - test/omise/test_attributes.rb
264
314
  - test/omise/test_balance.rb
265
315
  - test/omise/test_card.rb
266
316
  - test/omise/test_charge.rb
267
317
  - test/omise/test_customer.rb
268
318
  - test/omise/test_dispute.rb
319
+ - test/omise/test_document.rb
269
320
  - test/omise/test_event.rb
321
+ - test/omise/test_link.rb
322
+ - test/omise/test_list.rb
270
323
  - test/omise/test_recipient.rb
271
324
  - test/omise/test_refund.rb
272
325
  - test/omise/test_resource.rb
326
+ - test/omise/test_search.rb
327
+ - test/omise/test_search_scope.rb
273
328
  - test/omise/test_token.rb
274
329
  - test/omise/test_transaction.rb
275
330
  - test/omise/test_transfer.rb
331
+ - test/omise/test_util.rb
276
332
  - test/support.rb
277
- has_rdoc: