dwolla-ruby 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -5,3 +5,4 @@
5
5
  Gemfile.lock
6
6
  pkg/*
7
7
  coverage/
8
+ examples/_keys.rb
data/README.md CHANGED
@@ -8,15 +8,15 @@
8
8
  - [Ruby](http://www.ruby-lang.org/)
9
9
 
10
10
  ## Installation
11
+ The easiest way to install the dwolla-ruby gem for now is to use bundler and add the following line to your Gemfile:
11
12
 
12
- The recommended way to install dwolla-php is through RubyGems:
13
+ gem 'dwolla-ruby'
13
14
 
14
- gem install dwolla-ruby
15
+ The recommended way to install dwolla-ruby is through RubyGems:
15
16
 
16
- ## Usage
17
- ```ruby
17
+ gem install dwolla-ruby
18
18
 
19
- ```
19
+ ## Usage
20
20
 
21
21
  ## Examples / Quickstart
22
22
 
@@ -92,8 +92,8 @@ Helper Methods:
92
92
 
93
93
  This wrapper is a forked extension of Jefferson Girao's <@jeffersongirao> 'dwolla' module.
94
94
 
95
- - Jefferson Gir�o <contato@jefferson.eti.br>
96
95
  - Michael Schonfeld <michael@dwolla.com>
96
+ - Jefferson Gir�o <contato@jefferson.eti.br>
97
97
 
98
98
  ## Support
99
99
 
@@ -108,7 +108,7 @@ http://developers.dwolla.com/dev
108
108
 
109
109
  (The MIT License)
110
110
 
111
- Copyright (c) 2012 Dwolla <michael@dwolla.com>
111
+ Copyright (c) 2013 Dwolla <michael@dwolla.com>
112
112
 
113
113
  Permission is hereby granted, free of charge, to any person obtaining
114
114
  a copy of this software and associated documentation files (the
@@ -127,4 +127,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
127
127
  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
128
128
  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
129
129
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
130
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
130
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -5,13 +5,13 @@ require "dwolla/version"
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "dwolla-ruby"
7
7
  s.version = Dwolla::VERSION
8
- s.authors = ["Jefferson Girao", "Michael Schonfeld"]
9
- s.email = ["contato@jefferson.eti.br", "michael@dwolla.com"]
8
+ s.authors = ["Michael Schonfeld"]
9
+ s.email = ["michael@dwolla.com"]
10
10
  s.homepage = "https://github.com/dwolla/dwolla-ruby"
11
11
  s.summary = %q{Official Ruby Wrapper for Dwolla's API}
12
12
  s.description = %q{Official Ruby Wrapper for Dwolla's API}
13
13
 
14
- s.rubyforge_project = "dwolla"
14
+ s.rubyforge_project = "dwolla-ruby"
15
15
 
16
16
  s.files = `git ls-files`.split("\n")
17
17
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
19
19
  s.require_paths = ["lib"]
20
20
 
21
21
  s.add_dependency 'faraday', '= 0.7.6'
22
- s.add_dependency 'multi_json', '= 1.3.6'
22
+ s.add_dependency 'multi_json', '~> 1.3'
23
23
 
24
24
  s.add_development_dependency 'bundler'
25
25
  s.add_development_dependency 'rake'
@@ -0,0 +1,17 @@
1
+ # Include the Dwolla gem
2
+ require 'rubygems'
3
+ require 'pp'
4
+ require '../lib/dwolla'
5
+
6
+ # Include any required keys
7
+ require_relative '_keys.rb'
8
+
9
+ # Instantiate a new Dwolla User client
10
+ # And, seed a previously generated access token
11
+ DwollaUser = Dwolla::User.me($token)
12
+
13
+
14
+ # EXAMPLE 1:
15
+ # Get the balance of the authenticated user
16
+ balance = DwollaUser.balance
17
+ pp balance
data/lib/dwolla.rb CHANGED
@@ -1,3 +1,27 @@
1
+ # Dwolla Ruby API Wrapper
2
+ # API spec at http://developers.dwolla.com
3
+ require 'rubygems'
4
+ require 'faraday'
5
+ require 'multi_json'
6
+
7
+ # Version
8
+ require "dwolla/version"
9
+
10
+ # API operations
11
+ require "dwolla/client"
12
+ require "dwolla/transaction"
13
+ require "dwolla/funding_source"
14
+ require "dwolla/user"
15
+
16
+ # Resources
17
+ require "dwolla/connection"
18
+ require "dwolla/response/parse_json"
19
+ require "dwolla/response/follow_redirects"
20
+ require "dwolla/response/guard_server_error"
21
+
22
+ # Errors
23
+ require "dwolla/exceptions"
24
+
1
25
  module Dwolla
2
26
  def self.endpoint=(endpoint)
3
27
  @@endpoint = endpoint
@@ -28,16 +52,3 @@ module Dwolla
28
52
  self.endpoint = "https://www.dwolla.com/oauth/rest"
29
53
  end
30
54
 
31
- require 'faraday'
32
- require 'multi_json'
33
-
34
- require "#{File.dirname(__FILE__)}/dwolla/exceptions"
35
- require "#{File.dirname(__FILE__)}/dwolla/response/parse_json"
36
- require "#{File.dirname(__FILE__)}/dwolla/response/follow_redirects"
37
- require "#{File.dirname(__FILE__)}/dwolla/response/guard_server_error"
38
- require "#{File.dirname(__FILE__)}/dwolla/connection"
39
- require "#{File.dirname(__FILE__)}/dwolla/client"
40
- require "#{File.dirname(__FILE__)}/dwolla/transaction"
41
- require "#{File.dirname(__FILE__)}/dwolla/funding_source"
42
- require "#{File.dirname(__FILE__)}/dwolla/user"
43
- require "#{File.dirname(__FILE__)}/dwolla/version"
data/lib/dwolla/client.rb CHANGED
@@ -10,6 +10,13 @@ module Dwolla
10
10
  user_attributes_hash = get("users/#{id}")
11
11
  User.new(user_attributes_hash)
12
12
  end
13
+
14
+ def register_user(user_attributes_hash)
15
+ params = auth_params.merge(user_attributes_hash)
16
+
17
+ returned_user_hash = post("register/", params)
18
+ User.new(returned_user_hash)
19
+ end
13
20
 
14
21
  def auth_url(redirect_uri=nil, scope='send|transactions|balance|request|contacts|accountinfofull|funding')
15
22
  params = {
@@ -42,9 +49,8 @@ module Dwolla
42
49
  end
43
50
 
44
51
  private
45
-
46
52
  def auth_params
47
53
  { :client_id => @client, :client_secret => @secret }
48
54
  end
49
- end
55
+ end
50
56
  end
@@ -14,7 +14,7 @@ module Dwolla
14
14
  TEST_ENDPOINTS = { :send => 'testapi/send',
15
15
  :request => 'testapi/request' }
16
16
 
17
- attr_accessor :origin, :destination, :destination_type, :type, :amount, :pin, :id, :source, :source_type, :description, :funds_source
17
+ attr_accessor :origin, :destination, :destination_type, :type, :amount, :pin, :id, :source, :source_type, :description, :funds_source, :assume_costs
18
18
 
19
19
  def initialize(attrs = {})
20
20
  attrs.each do |key, value|
@@ -48,6 +48,7 @@ module Dwolla
48
48
  payload[:sourceType] = source_type if source_type
49
49
  payload[:notes] = description if description
50
50
  payload[:fundsSource] = funds_source if funds_source
51
+ payload[:assumeCosts] = assume_costs if assume_costs
51
52
 
52
53
  payload
53
54
  end
data/lib/dwolla/user.rb CHANGED
@@ -47,6 +47,28 @@ module Dwolla
47
47
  sources = get('fundingsources?fundingid=' + funding_id)
48
48
  sources.map{|s| FundingSource.from_json(s)}
49
49
  end
50
+
51
+ def add_funding_source(funding_source_hash)
52
+ params = auth_params.merge(funding_source_hash)
53
+
54
+ returned_source_hash = post("fundingsources/", params)
55
+ FundingSource.from_json(returned_source_hash)
56
+ end
57
+
58
+ def deposit_funds(funding_id, pin, amount)
59
+ params = auth_params.merge(:pin => pin, :amount => amount, :funding_id => funding_id)
60
+
61
+ returned_hash = post("fundingsources/#{funding_id}/deposit", params)
62
+ returned_hash
63
+ end
64
+
65
+ def withdraw_funds(funding_id, pin, amount)
66
+ params = auth_params.merge(:pin => pin, :amount => amount, :funding_id => funding_id)
67
+
68
+ returned_hash = post("fundingsources/#{funding_id}/withdraw", params)
69
+ returned_hash
70
+ end
71
+
50
72
 
51
73
  def contacts(options = {})
52
74
  contacts_url = 'contacts'
@@ -55,7 +77,7 @@ module Dwolla
55
77
  instances_from_contacts(contacts)
56
78
  end
57
79
 
58
- def send_money_to(destination, amount, pin, type='dwolla', description='', funds_source=nil)
80
+ def send_money_to(destination, amount, pin, type='dwolla', description='', funds_source=nil, assume_costs=nil)
59
81
  transaction = Transaction.new(:origin => self,
60
82
  :destination => destination,
61
83
  :destination_type => type,
@@ -63,7 +85,8 @@ module Dwolla
63
85
  :type => :send,
64
86
  :amount => amount,
65
87
  :pin => pin,
66
- :funds_source => funds_source)
88
+ :funds_source => funds_source,
89
+ :assume_costs => assume_costs)
67
90
 
68
91
  transaction.execute
69
92
  end
@@ -1,3 +1,3 @@
1
1
  module Dwolla
2
- VERSION = "1.0.0"
2
+ VERSION = "1.1.0"
3
3
  end
@@ -24,4 +24,28 @@ describe Dwolla::Client do
24
24
  user.longitude.should == -93.634167
25
25
  end
26
26
  end
27
+
28
+ describe "registering a user" do
29
+ it 'should register a user and return a user object' do
30
+ stub_post('/register/').
31
+ to_return(:body => fixture("register.json"))
32
+
33
+ userhash = {"email" => "test@test.com",
34
+ "password" => "Asdfasdf43434",
35
+ "pin" => "4343",
36
+ "firstName" => "Test",
37
+ "lastName" => "User",
38
+ "address" => "204 W. Test St.",
39
+ "city" => "Lansing",
40
+ "state" => "MI",
41
+ "zip" => "48906",
42
+ "phone" => "5175557621",
43
+ "dateOfBirth" => "07-12-1983",
44
+ "type" => "Personal",
45
+ "acceptTerms" => "true"}
46
+
47
+ user = subject.register_user(userhash)
48
+ user.name.should eq 'Test User'
49
+ end
50
+ end
27
51
  end
@@ -0,0 +1,59 @@
1
+ describe "Funding sources" do
2
+ let(:oauth_token) { 'valid_token' }
3
+
4
+ describe "Getting a list of funding sources" do
5
+ before :each do
6
+ user = Dwolla::User.me(oauth_token)
7
+ stub_request(:get, "https://www.dwolla.com/oauth/rest/fundingsources?oauth_token=valid_token").
8
+ with(:headers => {'Accept'=>'application/json', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'Content-Type'=>'application/json', 'User-Agent'=>'Dwolla Ruby Wrapper'}).
9
+ to_return(:body => fixture("sources.json"))
10
+ @account = user.funding_sources.first
11
+ end
12
+ it "should be a FundingSource object" do
13
+ @account.should be_kind_of(Dwolla::FundingSource)
14
+ end
15
+ it "should get the correct id" do
16
+ @account.id.should == "mE06khgHy9K/Ii9n5fbUEg=="
17
+ end
18
+ it "should get the right name" do
19
+ @account.name.should == "Checking - My Bank"
20
+ end
21
+ it "should get the right type" do
22
+ @account.type.should == "Checking"
23
+ end
24
+ it "should get whether the account is verified" do
25
+ @account.should be_verified
26
+ end
27
+ end
28
+
29
+ describe "adding a funding source" do
30
+ it "should create a funding source" do
31
+ user = Dwolla::User.new(:oauth_token => '12345', :id => '1')
32
+
33
+ stub_post('/fundingsources/').
34
+ to_return(:body => fixture("add_funding_source.json"))
35
+
36
+ sourcehash = {
37
+ "account_number" => "4434343434",
38
+ "routing_number" => "343434343434",
39
+ "account_type" => "checking",
40
+ "name" => "My Checking Account - Checking"
41
+ }
42
+
43
+ funding_source = user.add_funding_source(sourcehash)
44
+ funding_source.name.should eq 'My Checking Account - Checking'
45
+ end
46
+ end
47
+
48
+ # "oauth_token": "",
49
+ # "funding_id": "",
50
+ # "pin": "",
51
+ # "amount": ""
52
+
53
+ pending "Depositing funds to dwolla from funding source" do
54
+ end
55
+
56
+ pending "Withdrawing funds from dwolla to funding source" do
57
+ end
58
+
59
+ end
@@ -88,6 +88,37 @@ describe Dwolla::Transaction do
88
88
  end
89
89
  end
90
90
 
91
+ context "and assume costs" do
92
+ before do
93
+ @origin = double(:oauth_token => '1')
94
+ @destination = "user@example.com"
95
+ @destination_type = "email"
96
+ @payload = { :amount => 200,
97
+ :pin => '1234',
98
+ :destinationId => 'user@example.com',
99
+ :destinationType => 'email',
100
+ :assumeCosts => true,
101
+ :oauth_token => '1' }
102
+ stub_post('/transactions/send').with(:body => MultiJson.dump(@payload)).to_return(
103
+ :body => fixture('send_transaction.json'))
104
+ end
105
+
106
+ it "should request the correct resource" do
107
+ transaction = Dwolla::Transaction.new(:origin => @origin,
108
+ :destination => @destination,
109
+ :destination_type => @destination_type,
110
+ :type => :send,
111
+ :amount => 200,
112
+ :pin => '1234',
113
+ :assume_costs => true )
114
+
115
+ transaction.execute
116
+
117
+ a_post('/transactions/send').
118
+ with(:body => MultiJson.dump(@payload)).should have_been_made
119
+ end
120
+ end
121
+
91
122
  end
92
123
 
93
124
  describe "request transaction" do
@@ -58,7 +58,9 @@ describe Dwolla::User do
58
58
  :description => description,
59
59
  :amount => 10,
60
60
  :type => :send,
61
- :pin => '2222').and_return(transaction)
61
+ :pin => '2222',
62
+ :funds_source=>nil,
63
+ :assume_costs=>nil).and_return(transaction)
62
64
 
63
65
  transaction.should_receive(:execute).and_return(transaction_id)
64
66
 
@@ -83,13 +85,67 @@ describe Dwolla::User do
83
85
  :description => description,
84
86
  :amount => 10,
85
87
  :type => :send,
86
- :pin => '2222').and_return(transaction)
88
+ :pin => '2222',
89
+ :funds_source=>nil,
90
+ :assume_costs=>nil).and_return(transaction)
87
91
 
88
92
  transaction.should_receive(:execute).and_return(transaction_id)
89
93
 
90
94
  user.send_money_to(destination_user, amount, pin, 'email', description).should == 123
91
95
  end
92
96
  end
97
+ context "assume costs" do
98
+ it "should make the correct transaction and assume costs if set to true" do
99
+ user = Dwolla::User.new(:oauth_token => '12345', :id => '1')
100
+ destination_user = 'user@example.com'
101
+ description = "sending a transaction"
102
+ amount = 10
103
+ pin = '2222'
104
+
105
+
106
+ transaction = double('transaction')
107
+ transaction_id = 123
108
+
109
+ Dwolla::Transaction.should_receive(:new).with(:origin => user,
110
+ :destination => destination_user,
111
+ :destination_type => 'email',
112
+ :description => description,
113
+ :amount => 10,
114
+ :type => :send,
115
+ :pin => '2222',
116
+ :funds_source=>nil,
117
+ :assume_costs=>true).and_return(transaction)
118
+
119
+ transaction.should_receive(:execute).and_return(transaction_id)
120
+
121
+ user.send_money_to(destination_user, amount, pin, 'email', description, nil, true).should == 123
122
+ end
123
+ it "should make the correct transaction and assume costs if set to false" do
124
+ user = Dwolla::User.new(:oauth_token => '12345', :id => '1')
125
+ destination_user = 'user@example.com'
126
+ description = "sending a transaction"
127
+ amount = 10
128
+ pin = '2222'
129
+
130
+
131
+ transaction = double('transaction')
132
+ transaction_id = 123
133
+
134
+ Dwolla::Transaction.should_receive(:new).with(:origin => user,
135
+ :destination => destination_user,
136
+ :destination_type => 'email',
137
+ :description => description,
138
+ :amount => 10,
139
+ :type => :send,
140
+ :pin => '2222',
141
+ :funds_source=>nil,
142
+ :assume_costs=>false).and_return(transaction)
143
+
144
+ transaction.should_receive(:execute).and_return(transaction_id)
145
+
146
+ user.send_money_to(destination_user, amount, pin, 'email', description, nil, false).should == 123
147
+ end
148
+ end
93
149
  end
94
150
 
95
151
  describe "requesting money" do
@@ -151,30 +207,6 @@ describe Dwolla::User do
151
207
  user.balance.should == 55.76
152
208
  end
153
209
 
154
- describe "Getting a list of funding sources" do
155
- before :each do
156
- user = Dwolla::User.me(oauth_token)
157
- stub_request(:get, "https://www.dwolla.com/oauth/rest/fundingsources?oauth_token=valid_token").
158
- with(:headers => {'Accept'=>'application/json', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'Content-Type'=>'application/json', 'User-Agent'=>'Dwolla Ruby Wrapper'}).
159
- to_return(:body => fixture("sources.json"))
160
- @account = user.funding_sources.first
161
- end
162
- it "should be a FundingSource object" do
163
- @account.should be_kind_of(Dwolla::FundingSource)
164
- end
165
- it "should get the correct id" do
166
- @account.id.should == "mE06khgHy9K/Ii9n5fbUEg=="
167
- end
168
- it "should get the right name" do
169
- @account.name.should == "Checking - My Bank"
170
- end
171
- it "should get the right type" do
172
- @account.type.should == "Checking"
173
- end
174
- it "should get whether the account is verified" do
175
- @account.should be_verified
176
- end
177
- end
178
210
 
179
211
  describe "contacts" do
180
212
  it "should request the correct resource when unfiltered" do
@@ -0,0 +1,11 @@
1
+ {
2
+ "Success": true,
3
+ "Message": "Success",
4
+ "Response": {
5
+ "Id": "34da835f235cd25302ef0c5c1cb1d4b9",
6
+ "Name": "My Checking Account - Checking",
7
+ "Type": "Checking",
8
+ "Verified": false,
9
+ "ProcessingType": "ACH"
10
+ }
11
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "City":"Lansing",
3
+ "State":"MI",
4
+ "Type":"Personal",
5
+ "Id":"812-111-1111",
6
+ "Name":"Test User",
7
+ "Latitude":0,
8
+ "Longitude":0
9
+ }
data/spec/spec_helper.rb CHANGED
@@ -4,7 +4,7 @@ SimpleCov.start
4
4
  $:.unshift File.expand_path('..', __FILE__)
5
5
  $:.unshift File.expand_path('../../lib', __FILE__)
6
6
 
7
- require 'dwolla'
7
+ require 'dwolla-ruby'
8
8
  require 'rspec'
9
9
  require 'webmock/rspec'
10
10
  require 'support/helpers'
metadata CHANGED
@@ -1,16 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dwolla-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
- - Jefferson Girao
9
8
  - Michael Schonfeld
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2012-09-27 00:00:00.000000000 Z
12
+ date: 2013-03-04 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: faraday
@@ -33,17 +32,17 @@ dependencies:
33
32
  requirement: !ruby/object:Gem::Requirement
34
33
  none: false
35
34
  requirements:
36
- - - '='
35
+ - - ~>
37
36
  - !ruby/object:Gem::Version
38
- version: 1.3.6
37
+ version: '1.3'
39
38
  type: :runtime
40
39
  prerelease: false
41
40
  version_requirements: !ruby/object:Gem::Requirement
42
41
  none: false
43
42
  requirements:
44
- - - '='
43
+ - - ~>
45
44
  - !ruby/object:Gem::Version
46
- version: 1.3.6
45
+ version: '1.3'
47
46
  - !ruby/object:Gem::Dependency
48
47
  name: bundler
49
48
  requirement: !ruby/object:Gem::Requirement
@@ -126,7 +125,6 @@ dependencies:
126
125
  version: '0'
127
126
  description: Official Ruby Wrapper for Dwolla's API
128
127
  email:
129
- - contato@jefferson.eti.br
130
128
  - michael@dwolla.com
131
129
  executables: []
132
130
  extensions: []
@@ -136,9 +134,10 @@ files:
136
134
  - Gemfile
137
135
  - README.md
138
136
  - Rakefile
139
- - dwolla.gemspec
137
+ - dwolla-ruby.gemspec
140
138
  - examples/_keys.rb
141
139
  - examples/accountInfo.rb
140
+ - examples/balance.rb
142
141
  - examples/contacts.rb
143
142
  - examples/fundingSources.rb
144
143
  - examples/oauth.rb
@@ -156,15 +155,18 @@ files:
156
155
  - lib/dwolla/user.rb
157
156
  - lib/dwolla/version.rb
158
157
  - spec/dwolla/client_spec.rb
158
+ - spec/dwolla/funding_source_spec.rb
159
159
  - spec/dwolla/response/follow_redirects_spec.rb
160
160
  - spec/dwolla/transaction_spec.rb
161
161
  - spec/dwolla/user_spec.rb
162
162
  - spec/dwolla_spec.rb
163
163
  - spec/fixtures/account_information.json
164
+ - spec/fixtures/add_funding_source.json
164
165
  - spec/fixtures/balance.json
165
166
  - spec/fixtures/basic_information.json
166
167
  - spec/fixtures/contacts.json
167
168
  - spec/fixtures/error.json
169
+ - spec/fixtures/register.json
168
170
  - spec/fixtures/request_transaction.json
169
171
  - spec/fixtures/send_transaction.json
170
172
  - spec/fixtures/sources.json
@@ -189,22 +191,25 @@ required_rubygems_version: !ruby/object:Gem::Requirement
189
191
  - !ruby/object:Gem::Version
190
192
  version: '0'
191
193
  requirements: []
192
- rubyforge_project: dwolla
194
+ rubyforge_project: dwolla-ruby
193
195
  rubygems_version: 1.8.24
194
196
  signing_key:
195
197
  specification_version: 3
196
198
  summary: Official Ruby Wrapper for Dwolla's API
197
199
  test_files:
198
200
  - spec/dwolla/client_spec.rb
201
+ - spec/dwolla/funding_source_spec.rb
199
202
  - spec/dwolla/response/follow_redirects_spec.rb
200
203
  - spec/dwolla/transaction_spec.rb
201
204
  - spec/dwolla/user_spec.rb
202
205
  - spec/dwolla_spec.rb
203
206
  - spec/fixtures/account_information.json
207
+ - spec/fixtures/add_funding_source.json
204
208
  - spec/fixtures/balance.json
205
209
  - spec/fixtures/basic_information.json
206
210
  - spec/fixtures/contacts.json
207
211
  - spec/fixtures/error.json
212
+ - spec/fixtures/register.json
208
213
  - spec/fixtures/request_transaction.json
209
214
  - spec/fixtures/send_transaction.json
210
215
  - spec/fixtures/sources.json