bcash-ruby 0.0.3 → 0.1.2

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: d07fef15fdd573b7185f87261e1914b81a094745
4
- data.tar.gz: 9f23a2de144f9c1a194bbcc98d4a18700fda1900
3
+ metadata.gz: 7c4ce1f2865bf87f94925e7a6a63f52f0f05ca78
4
+ data.tar.gz: cf3e7dc47d834ee16058b3a079f28c5ed5b6355c
5
5
  SHA512:
6
- metadata.gz: 0dc9084255e20704d8f1b2a01ed4c5cdd57655a56756f9f7c3bf6608d90003533c6684c1649e4c754d10638fb793577a69af8a819c5937c0a79f76d81ac64fea
7
- data.tar.gz: b6e23257e25acade6c5500a581b516569cca56138d5267be2cbd66fffd4f9835cb8b9716ff0e4529dc3a8ef17466974e13f008e5098f1107ec7ad0f780f945c9
6
+ metadata.gz: e628d428a87577c6652de0e6103f6789144688efcbd6294887cc00a56c3d0277fa74066d82d888d97ad8629e86f33f266fdf04820bb7568f6882d813553c4a4b
7
+ data.tar.gz: 47ea448c33bfa19ae04503553010f0c605e0e64464c8115df8fae8a739de3bc4823c4808984d72acd383466c2cbcf843f12642f5045ed0aaf70bb85457d121ed
data/bcash-ruby.gemspec CHANGED
@@ -22,6 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.add_dependency "httparty", '~> 0.13', '>= 0.13.0'
23
23
  spec.add_dependency 'multi_json', '~> 1.0'
24
24
  spec.add_dependency 'oauth', '~> 0.4'
25
+ spec.add_dependency 'activemodel', '> 3.0'
25
26
 
26
27
  spec.add_development_dependency 'bundler', '~> 1.6'
27
28
  spec.add_development_dependency 'rake', '~> 10.3', '>= 10.3.2'
@@ -6,7 +6,14 @@ module Bcash::Api
6
6
  end
7
7
 
8
8
  def create_account(data)
9
- json_request :post, 'createAccount'
9
+ data = Bcash::Api::AccountCreationRequest.new(data)
10
+
11
+ if data.valid?
12
+ response = json_request :post, 'createAccount', data
13
+ Bcash::Api::AccountResponse.new(response)
14
+ else
15
+ raise Bcash::InvalidAccount
16
+ end
10
17
  end
11
18
  end
12
19
  end
@@ -0,0 +1,28 @@
1
+ module Bcash::Api
2
+ class AccountCreationRequest < BaseRequest
3
+ attr_accessor :owner, :legal_person, :address, :contact, :url, :transaction_mode
4
+
5
+ alias_method :legalPerson, :legal_person
6
+ alias_method :transactionMode, :transaction_mode
7
+
8
+ validates_presence_of :owner, :address, :contact
9
+
10
+ def initialize(attributes={})
11
+ @address = AddressRequest.new(attributes.delete(:address))
12
+ @owner = PersonRequest.new(attributes.delete(:owner))
13
+ @contact = ContactRequest.new(attributes.delete(:contact))
14
+ end
15
+
16
+ def valid?
17
+ super && owner.valid? && address.valid? && contact.valid? && legal_person_valid?
18
+ end
19
+
20
+ def legal_person_valid?
21
+ legal_person.present? ? legal_person.valid? : true
22
+ end
23
+
24
+ def attributes
25
+ { 'owner' => owner, 'legalPerson' => legal_person, 'address' => address, 'contact' => contact, 'url' => url, 'transactionMode' => transaction_mode }
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,16 @@
1
+ module Bcash::Api
2
+ class AddressRequest < BaseRequest
3
+ attr_accessor :address, :number, :complement, :neighborhood, :city,
4
+ :state, :zip_code
5
+
6
+ validates_presence_of :address, :number, :city, :state, :zip_code
7
+ validates_length_of :state, is: 2
8
+ validates_length_of :zip_code, in: 8..9
9
+
10
+ alias_method :zipCode, :zip_code
11
+
12
+ def attributes
13
+ { 'address' => address, 'number' => number, 'complement' => complement, 'neighborhood' => neighborhood, 'city' => city, 'state' => state, 'zipCode' => zip_code }
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,7 @@
1
+ module Bcash::Api
2
+ class BaseRequest
3
+ include ActiveModel::Model
4
+ include ActiveModel::Serialization
5
+ include ActiveModel::Serializers::JSON
6
+ end
7
+ end
@@ -0,0 +1,19 @@
1
+ module Bcash::Api
2
+ class ContactRequest < BaseRequest
3
+ attr_accessor :phone_number, :mobile_phone_number, :commercial_phone_number
4
+
5
+ alias_method :phoneNumber, :phone_number
6
+ alias_method :mobilePhoneNumber, :mobile_phone_number
7
+ alias_method :commercialPhoneNumber, :commercial_phone_number
8
+
9
+ validates_length_of :phone_number, :mobile_phone_number, :commercial_phone_number, maximum: 12
10
+
11
+ validates_presence_of :phone_number, if: Proc.new { |c| c.mobile_phone_number.blank? && c.commercial_phone_number.blank? }
12
+ validates_presence_of :mobile_phone_number, if: Proc.new { |c| c.phone_number.blank? && c.commercial_phone_number.blank? }
13
+ validates_presence_of :commercial_phone_number, if: Proc.new { |c| c.phone_number.blank? && c.mobile_phone_number.blank? }
14
+
15
+ def attributes
16
+ { 'phoneNumber' => phone_number, 'mobilePhoneNumber' => mobile_phone_number, 'commercialPhoneNumber' => commercial_phone_number }
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,13 @@
1
+ module Bcash::Api
2
+ class PersonRequest < BaseRequest
3
+ attr_accessor :email, :gender, :name, :cpf, :rg, :birth_date
4
+
5
+ alias_method :birthDate, :birth_date
6
+
7
+ validates_presence_of :email, :gender, :name, :cpf
8
+
9
+ def attributes
10
+ { 'email' => email, 'gender' => gender, 'name' => name, 'cpf' => cpf, 'rg' => rg, 'birthDate' => birth_date }
11
+ end
12
+ end
13
+ end
@@ -1,26 +1,44 @@
1
1
  module Bcash::Api
2
2
  class Response
3
- attr_accessor :body, :http_code
3
+ attr_accessor :body, :http_code, :success, :code, :message
4
4
 
5
5
  def initialize(response)
6
- if response.success?
7
- parse_body(response)
8
- else
9
- raise message
10
- end
6
+ self.success = false
7
+ @http_code = response.code
8
+ parse_body(response)
11
9
  end
12
10
 
13
11
  def code
14
- body['code'].to_i
12
+ success ? body['code'] : value_from_errors('code')
15
13
  end
16
14
 
17
15
  def message
18
- body['message']
16
+ success ? body['message'] : value_from_errors('description')
17
+ end
18
+
19
+ def errors
20
+ body['list']
21
+ end
22
+
23
+ def success?
24
+ success
19
25
  end
20
26
 
27
+ private
28
+
21
29
  def parse_body(response)
22
30
  @body = CGI::unescape(response.body)
23
31
  @body = JSON::parse body
32
+ @success = response.success?
33
+ end
34
+
35
+ def value_from_errors(value)
36
+ if errors.size > 1
37
+ errors.collect {|e| e[value] }
38
+ else
39
+ errors[0][value]
40
+ end
24
41
  end
42
+
25
43
  end
26
44
  end
data/lib/bcash/api.rb CHANGED
@@ -2,4 +2,10 @@ module Bcash::Api
2
2
  autoload :Accounts, 'bcash/api/accounts'
3
3
  autoload :Response, 'bcash/api/response'
4
4
  autoload :AccountResponse, 'bcash/api/account_response'
5
+
6
+ autoload :BaseRequest, 'bcash/api/request/base_request'
7
+ autoload :AddressRequest, 'bcash/api/request/address_request'
8
+ autoload :AccountCreationRequest, 'bcash/api/request/account_creation_request'
9
+ autoload :ContactRequest, 'bcash/api/request/contact_request'
10
+ autoload :PersonRequest, 'bcash/api/request/person_request'
5
11
  end
@@ -0,0 +1,3 @@
1
+ module Bcash
2
+ class InvalidAccount < StandardError; end
3
+ end
@@ -2,6 +2,8 @@ module Bcash::Helpers::Request
2
2
  private
3
3
 
4
4
  def json_request(verb, method, data, options = {})
5
+ ensure_email_and_token_are_set!
6
+
5
7
  options.merge! headers: {
6
8
  "Authorization" => authorization_key,
7
9
  }, body: { data: data.to_json }
@@ -9,6 +11,14 @@ module Bcash::Helpers::Request
9
11
  self.class.send(verb, "/#{method}/json", options)
10
12
  end
11
13
 
14
+ def ensure_email_and_token_are_set!
15
+ if email.blank?
16
+ raise StandardError, 'Bcash email is not set'
17
+ elsif token.blank?
18
+ raise StandardError, 'Bcash token is not set'
19
+ end
20
+ end
21
+
12
22
  def authorization_key
13
23
  "Basic #{Base64.strict_encode64("#{email}:#{token}")}"
14
24
  end
data/lib/bcash/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Bcash
2
- VERSION = "0.0.3"
2
+ VERSION = "0.1.2"
3
3
  end
data/lib/bcash.rb CHANGED
@@ -1,8 +1,11 @@
1
1
  require 'bcash/version'
2
+ require 'bcash/exceptions'
3
+ require 'active_model'
4
+ require 'json'
2
5
 
3
6
  module Bcash
4
7
  class << self
5
- attr_accessor :email, :token, :key
8
+ attr_accessor :email, :token, :key, :sales_channel
6
9
 
7
10
  def configure
8
11
  yield self
@@ -1,17 +1,18 @@
1
+ #encoding: utf-8
1
2
  require 'spec_helper'
2
3
 
3
4
  describe Bcash::Api::Accounts do
4
5
  let(:email) { 'contato@minestore.com.br' }
5
- let(:token) { 'AF3AISDkEF92ABCD820C37FEABCE1' }
6
+ let(:token) { 'AF3AISDkEF92ABCD820C37FEABCE1' }
6
7
  let!(:client){ Bcash::Client.new(email: email, token: token) }
7
8
 
8
- describe 'search_account' do
9
+ describe 'search_account_by_cpf' do
9
10
  context 'when match one customer' do
10
11
  it 'should be able to retrieve customer info' do
11
12
  VCR.use_cassette('search_account_return_one') do
12
13
  cpf = '07411111111'
13
14
  response = client.search_account_by_cpf(cpf)
14
- expect(response.code).to eq(1)
15
+ expect(response.code).to eq('1')
15
16
  expect(response.message).to eq('Foi encontrado 1 registro para o CPF ou email informado!')
16
17
  expect(response.cpf).to eq(cpf)
17
18
  expect(response.accounts.size).to eq(1)
@@ -25,7 +26,7 @@ describe Bcash::Api::Accounts do
25
26
  VCR.use_cassette('search_account_return_mutiple') do
26
27
  cpf = '07822222222'
27
28
  response = client.search_account_by_cpf(cpf)
28
- expect(response.code).to eq(2)
29
+ expect(response.code).to eq('2')
29
30
  expect(response.message).to eq('Foram encontrados 2 registros para o CPF ou email informado!')
30
31
  expect(response.cpf).to eq(cpf)
31
32
  expect(response.accounts.size).to eq(2)
@@ -37,12 +38,79 @@ describe Bcash::Api::Accounts do
37
38
  it 'must return not found message' do
38
39
  VCR.use_cassette('search_account_return_not_found') do
39
40
  response = client.search_account_by_cpf '07800000000'
40
- expect(response.code).to eq(3)
41
+
42
+ expect(response.code).to eq('3')
41
43
  expect(response.message).to eq('Nenhum registro foi encontrado para o CPF ou email informado!')
42
44
  expect(response.cpf).to eq('07800000000')
43
45
  expect(response.accounts).to be_empty
44
46
  end
45
47
  end
46
48
  end
49
+
50
+ context 'when authentication fails' do
51
+ it 'must return error message' do
52
+ token = 'AF3AISDkEF92ABCD820C37FEABC'
53
+ client = Bcash::Client.new(email: email, token: token)
54
+ response = nil
55
+
56
+ VCR.use_cassette('search_account_return_authentication_failed') do
57
+ response = client.search_account_by_cpf '07800000000'
58
+ end
59
+
60
+ expect(response.code).to eq('202019')
61
+ expect(response.message).to eq('Falha na autenticação')
62
+ end
63
+ end
64
+ end
65
+
66
+ describe '#create_account' do
67
+ let(:data) do
68
+ {
69
+ owner: {
70
+ email: "jose@vendedor.net",
71
+ gender: "M",
72
+ name: "José o Vendedor",
73
+ cpf: "43677708699",
74
+ birth_date: "12/12/1912"
75
+ },
76
+ address: {
77
+ address: "Rua Agostinho",
78
+ zip_code: "81560-040",
79
+ number: "1000",
80
+ neighborhood: "Centro",
81
+ complement: "Casa",
82
+ city: "Curitiba",
83
+ state: "PR"
84
+ },
85
+ contact: {
86
+ phone_number: "41-3333-3333"
87
+ }
88
+ }
89
+ end
90
+
91
+ context 'passing minimun of necessary information' do
92
+ it 'must return success message' do
93
+ VCR.use_cassette('create_account_using_minimal_data') do
94
+ response = client.create_account(data)
95
+ expect(response).to be_success
96
+ expect(response.http_code).to eq(200)
97
+ expect(response.message).to eq('Conta criada com sucesso.')
98
+ end
99
+ end
100
+ end
101
+
102
+ context 'when all required fields are missing' do
103
+ it 'must raise error' do
104
+ expect { client.create_account({}) }.to raise_error(Bcash::InvalidAccount)
105
+ end
106
+ end
107
+
108
+ context 'when cpf is missing' do
109
+ it 'must raise error' do
110
+ data[:owner].delete(:cpf)
111
+ expect { client.create_account(data) }.to raise_error(Bcash::InvalidAccount)
112
+ end
113
+ end
47
114
  end
115
+
48
116
  end
data/spec/spec_helper.rb CHANGED
@@ -7,6 +7,9 @@ require 'bcash'
7
7
 
8
8
  VCR.configure do |c|
9
9
  c.cassette_library_dir = 'spec/vcr_cassettes'
10
+ c.default_cassette_options = {
11
+ match_requests_on: [:method, :uri, :headers, :body]
12
+ }
10
13
  c.hook_into :webmock
11
14
  end
12
15
 
@@ -22,7 +25,7 @@ RSpec.configure do |config|
22
25
 
23
26
  config.before(:suite) do
24
27
  # Bcash.configure do |c|
25
- # c.email = 'raphaelwc@gmail.com'
28
+ # c.email = 'user@gmail.com'
26
29
  # end
27
30
  end
28
31
  end
@@ -0,0 +1,59 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://contato%40minestore.com.br:AF3AISDkEF92ABCD820C37FEABCE1@api.bcash.com.br/service/createAccount/json
6
+ body:
7
+ encoding: UTF-8
8
+ string: data=%7B%22owner%22%3A%7B%22email%22%3A%22jose%40vendedor.net%22%2C%22gender%22%3A%22M%22%2C%22name%22%3A%22Jos%C3%A9%20o%20Vendedor%22%2C%22cpf%22%3A%2243677708699%22%2C%22rg%22%3Anull%2C%22birthDate%22%3A%2212%2F12%2F1912%22%7D%2C%22legalPerson%22%3Anull%2C%22address%22%3A%7B%22address%22%3A%22Rua%20Agostinho%22%2C%22number%22%3A%221000%22%2C%22complement%22%3A%22Casa%22%2C%22neighborhood%22%3A%22Centro%22%2C%22city%22%3A%22Curitiba%22%2C%22state%22%3A%22PR%22%2C%22zipCode%22%3A%2281560-040%22%7D%2C%22contact%22%3A%7B%22phoneNumber%22%3A%2241-3333-3333%22%2C%22mobilePhoneNumber%22%3Anull%2C%22commercialPhoneNumber%22%3Anull%7D%2C%22url%22%3Anull%2C%22transactionMode%22%3Anull%7D
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 200
13
+ message: OK
14
+ headers:
15
+ Accept-Charset:
16
+ - big5, big5-hkscs, compound_text, euc-jp, euc-kr, gb18030, gb2312, gbk, ibm-thai,
17
+ ibm00858, ibm01140, ibm01141, ibm01142, ibm01143, ibm01144, ibm01145, ibm01146,
18
+ ibm01147, ibm01148, ibm01149, ibm037, ibm1026, ibm1047, ibm273, ibm277, ibm278,
19
+ ibm280, ibm284, ibm285, ibm297, ibm420, ibm424, ibm437, ibm500, ibm775, ibm850,
20
+ ibm852, ibm855, ibm857, ibm860, ibm861, ibm862, ibm863, ibm864, ibm865, ibm866,
21
+ ibm868, ibm869, ibm870, ibm871, ibm918, iso-2022-cn, iso-2022-jp, iso-2022-jp-2,
22
+ iso-2022-kr, iso-8859-1, iso-8859-13, iso-8859-15, iso-8859-2, iso-8859-3,
23
+ iso-8859-4, iso-8859-5, iso-8859-6, iso-8859-7, iso-8859-8, iso-8859-9, jis_x0201,
24
+ jis_x0212-1990, koi8-r, koi8-u, shift_jis, tis-620, us-ascii, utf-16, utf-16be,
25
+ utf-16le, utf-32, utf-32be, utf-32le, utf-8, windows-1250, windows-1251, windows-1252,
26
+ windows-1253, windows-1254, windows-1255, windows-1256, windows-1257, windows-1258,
27
+ windows-31j, x-big5-hkscs-2001, x-big5-solaris, x-euc-jp-linux, x-euc-tw,
28
+ x-eucjp-open, x-ibm1006, x-ibm1025, x-ibm1046, x-ibm1097, x-ibm1098, x-ibm1112,
29
+ x-ibm1122, x-ibm1123, x-ibm1124, x-ibm1381, x-ibm1383, x-ibm33722, x-ibm737,
30
+ x-ibm833, x-ibm834, x-ibm856, x-ibm874, x-ibm875, x-ibm921, x-ibm922, x-ibm930,
31
+ x-ibm933, x-ibm935, x-ibm937, x-ibm939, x-ibm942, x-ibm942c, x-ibm943, x-ibm943c,
32
+ x-ibm948, x-ibm949, x-ibm949c, x-ibm950, x-ibm964, x-ibm970, x-iscii91, x-iso-2022-cn-cns,
33
+ x-iso-2022-cn-gb, x-iso-8859-11, x-jis0208, x-jisautodetect, x-johab, x-macarabic,
34
+ x-maccentraleurope, x-maccroatian, x-maccyrillic, x-macdingbat, x-macgreek,
35
+ x-machebrew, x-maciceland, x-macroman, x-macromania, x-macsymbol, x-macthai,
36
+ x-macturkish, x-macukraine, x-ms932_0213, x-ms950-hkscs, x-ms950-hkscs-xp,
37
+ x-mswin-936, x-pck, x-sjis_0213, x-utf-16le-bom, x-utf-32be-bom, x-utf-32le-bom,
38
+ x-windows-50220, x-windows-50221, x-windows-874, x-windows-949, x-windows-950,
39
+ x-windows-iso2022jp
40
+ Access-Control-Allow-Origin:
41
+ - "*"
42
+ Content-Type:
43
+ - text/plain;charset=UTF-8
44
+ Date:
45
+ - Tue, 09 Sep 2014 04:40:56 GMT
46
+ Server:
47
+ - Apache-Coyote/1.1
48
+ Set-Cookie:
49
+ - JSESSIONID=4Uns8zt8D-mIexYDoNUvKDsU.undefined; Path=/
50
+ Content-Length:
51
+ - '39'
52
+ Connection:
53
+ - keep-alive
54
+ body:
55
+ encoding: UTF-8
56
+ string: '{"message":"Conta+criada+com+sucesso."}'
57
+ http_version:
58
+ recorded_at: Tue, 09 Sep 2014 04:43:12 GMT
59
+ recorded_with: VCR 2.9.2
@@ -0,0 +1,30 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://contato%40minestore.com.br:AF3AISDkEF92ABCD820C37FEABC@api.bcash.com.br/service/searchAccount/json
6
+ body:
7
+ encoding: UTF-8
8
+ string: data=%7B%22cpf%22%3A%2207800000000%22%7D
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 401
13
+ message: Unauthorized
14
+ headers:
15
+ Content-Type:
16
+ - application/json;charset=UTF-8
17
+ Date:
18
+ - Mon, 08 Sep 2014 18:51:07 GMT
19
+ Server:
20
+ - Apache-Coyote/1.1
21
+ Content-Length:
22
+ - '76'
23
+ Connection:
24
+ - keep-alive
25
+ body:
26
+ encoding: UTF-8
27
+ string: '{"list":[{"code":"202019","description":"Falha+na+autentica%C3%A7%C3%A3o"}]}'
28
+ http_version:
29
+ recorded_at: Mon, 08 Sep 2014 18:51:07 GMT
30
+ recorded_with: VCR 2.9.2
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bcash-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Raphael Costa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-08 00:00:00.000000000 Z
11
+ date: 2014-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -58,6 +58,20 @@ dependencies:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
60
  version: '0.4'
61
+ - !ruby/object:Gem::Dependency
62
+ name: activemodel
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">"
66
+ - !ruby/object:Gem::Version
67
+ version: '3.0'
68
+ type: :runtime
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">"
73
+ - !ruby/object:Gem::Version
74
+ version: '3.0'
61
75
  - !ruby/object:Gem::Dependency
62
76
  name: bundler
63
77
  requirement: !ruby/object:Gem::Requirement
@@ -172,14 +186,22 @@ files:
172
186
  - lib/bcash/api.rb
173
187
  - lib/bcash/api/account_response.rb
174
188
  - lib/bcash/api/accounts.rb
189
+ - lib/bcash/api/request/account_creation_request.rb
190
+ - lib/bcash/api/request/address_request.rb
191
+ - lib/bcash/api/request/base_request.rb
192
+ - lib/bcash/api/request/contact_request.rb
193
+ - lib/bcash/api/request/person_request.rb
175
194
  - lib/bcash/api/response.rb
176
195
  - lib/bcash/client.rb
196
+ - lib/bcash/exceptions.rb
177
197
  - lib/bcash/helpers.rb
178
198
  - lib/bcash/helpers/request.rb
179
199
  - lib/bcash/version.rb
180
200
  - spec/cases/api_account_spec.rb
181
201
  - spec/cases/bcash_spec.rb
182
202
  - spec/spec_helper.rb
203
+ - spec/vcr_cassettes/create_account_using_minimal_data.yml
204
+ - spec/vcr_cassettes/search_account_return_authentication_failed.yml
183
205
  - spec/vcr_cassettes/search_account_return_mutiple.yml
184
206
  - spec/vcr_cassettes/search_account_return_not_found.yml
185
207
  - spec/vcr_cassettes/search_account_return_one.yml
@@ -211,6 +233,8 @@ test_files:
211
233
  - spec/cases/api_account_spec.rb
212
234
  - spec/cases/bcash_spec.rb
213
235
  - spec/spec_helper.rb
236
+ - spec/vcr_cassettes/create_account_using_minimal_data.yml
237
+ - spec/vcr_cassettes/search_account_return_authentication_failed.yml
214
238
  - spec/vcr_cassettes/search_account_return_mutiple.yml
215
239
  - spec/vcr_cassettes/search_account_return_not_found.yml
216
240
  - spec/vcr_cassettes/search_account_return_one.yml