freee 0.0.4 → 0.1.0

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: 9b2631505ab67787214e0cf2b427768a67646bf2
4
- data.tar.gz: 02082178199c8787d1ccd2faee4c64ba60251d4d
3
+ metadata.gz: 7553a7f12177b2231a3857a57d0f478bbc7db57f
4
+ data.tar.gz: e3ad6a1d35ab04daed124a24cc425296da48ddf6
5
5
  SHA512:
6
- metadata.gz: 15fbd6076543ddb79baf77e36a915e28436cdb3368e50d0708cf6bace7a0b6e18565e16156c0a9b494d3f49765833294b1265b40afad7699015181e869890e9f
7
- data.tar.gz: 567bd1ebcb165d27be4a88411ecd5fa486e2e338f88eba2fbaa17faba3902c6fbf555128b54617bedec75c236d8c50e13c507463a550a5142314f9c5d2dcf986
6
+ metadata.gz: 357b72ff2086975b4162e8c784d884f2934f5d5f1b56af3b40e05b8430a527f1845a525b53a10493d68a83159dac743f9e1320c20c814f52b71fccf1fa2f4b9a
7
+ data.tar.gz: c2bb1afbe46044d67400ffc92500854f49d92b856b95033309fcac34568da7ba23ca3c811c11e662c6d891cbd6607a856554f2d6e184ab7bb5db897ecd0f6a32
data/README.md CHANGED
@@ -18,14 +18,18 @@ Or install it yourself as:
18
18
 
19
19
  ## Usage
20
20
 
21
- ```ruby
22
- require 'freee'
23
-
24
- Freee::Base.config("#{client_id}", "#{secret_key}", "#{token}")
25
- Freee::User.new.me
21
+ ```sh
22
+ > export FREEE_CLIENT_ID=XXXXX
23
+ > export FREEE_SECRET_KEY=XXXXX
24
+ > export FREEE_APPLICATION_TOKEN=XXXXX
25
+ > irb
26
+ > require 'freee'
27
+ > Freee::Base.set_env
28
+ > Freee::User.me
29
+ {"user"=>{"email"=>"hoge@example.com", "display_name"=>nil, "first_name"=>nil, "last_name"=>nil, "first_name_kana"=>nil, "last_name_kana"=>nil}}
26
30
  ```
27
31
 
28
- ### Create token
32
+ ### Generate token
29
33
 
30
34
  ```
31
35
  > freee token
data/freee.gemspec CHANGED
@@ -23,6 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.add_runtime_dependency 'faraday_middleware'
24
24
  spec.add_runtime_dependency 'httpauth'
25
25
  spec.add_runtime_dependency 'thor'
26
+ spec.add_runtime_dependency 'activesupport'
26
27
 
27
28
  spec.add_development_dependency 'bundler', '~> 1.6'
28
29
  spec.add_development_dependency 'rake'
data/lib/freee/account.rb CHANGED
@@ -1,7 +1,10 @@
1
1
  module Freee
2
2
  class Account < Freee::Base
3
3
  def self.items(company_id)
4
- Freee.client.get("/api/1/account_items?company_id=#{company_id.to_i}")
4
+ Freee.client.get(
5
+ "/api/1/account_items?company_id=#{company_id.to_i}",
6
+ :account
7
+ )
5
8
  end
6
9
  end
7
10
  end
data/lib/freee/amount.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Freee
2
2
  class Amount < Freee::Base
3
3
  def self.current_report
4
- Freee.client.get('/api/p/reports/amounts/current')
4
+ Freee.client.get('/api/p/reports/amounts/current', :amount)
5
5
  end
6
6
  end
7
7
  end
data/lib/freee/base.rb CHANGED
@@ -1,10 +1,20 @@
1
- module Freee
1
+ require 'uri'
2
2
 
3
+ module Freee
3
4
  def client
4
5
  Base.new.client
5
6
  end
6
7
  module_function :client
7
8
 
9
+ def encode_params(kwargs)
10
+ if kwargs.length != 0
11
+ '&' + URI.encode_www_form(kwargs)
12
+ else
13
+ ''
14
+ end
15
+ end
16
+ module_function :encode_params
17
+
8
18
  class Base
9
19
 
10
20
  @@client_id = nil
@@ -40,8 +50,9 @@ module Freee
40
50
  @@token = token
41
51
  end
42
52
 
43
- def get(path)
44
- @client.get(path).response.env[:body]
53
+ def get(path, type=nil)
54
+ response = @client.get(path).response.env[:body]
55
+ return Freee::Response::Type.convert(response, type)
45
56
  end
46
57
 
47
58
  private
data/lib/freee/company.rb CHANGED
@@ -5,11 +5,11 @@ module Freee
5
5
  end
6
6
 
7
7
  def self.list
8
- Freee.client.get('/api/1/companies')
8
+ Freee.client.get('/api/1/companies', :company)
9
9
  end
10
10
 
11
11
  def self.list_of_details(company_id)
12
- Freee.client.get("/api/1/companies/#{company_id.to_i}")
12
+ Freee.client.get("/api/1/companies/#{company_id.to_i}", :company)
13
13
  end
14
14
  end
15
15
  end
data/lib/freee/deal.rb CHANGED
@@ -4,8 +4,22 @@ module Freee
4
4
  #client.post('/api//1/deals')
5
5
  end
6
6
 
7
- def self.list(company_id)
8
- Freee.client.get("/api/1/deals?company_id=#{company_id.to_i}")
7
+ def self.list(company_id, **kwargs)
8
+ params = Freee.encode_params(kwargs)
9
+ Freee.client.get(
10
+ "/api/1/deals?company_id=#{company_id.to_i}#{params}",
11
+ :deal
12
+ )
13
+ end
14
+
15
+ def self.list_income(company_id, **kwargs)
16
+ kwargs[:type] = 'income'
17
+ self.list(company_id, **kwargs)
18
+ end
19
+
20
+ def self.list_expense(company_id, **kwargs)
21
+ kwargs[:type] = 'expense'
22
+ self.list(company_id, **kwargs)
9
23
  end
10
24
  end
11
25
  end
data/lib/freee/item.rb CHANGED
@@ -5,7 +5,10 @@ module Freee
5
5
  end
6
6
 
7
7
  def self.list(company_id)
8
- Freee.client.get("/api/1/items?company_id=#{company_id.to_i}")
8
+ Freee.client.get(
9
+ "/api/1/items?company_id=#{company_id.to_i}",
10
+ :item
11
+ )
9
12
  end
10
13
  end
11
14
  end
@@ -0,0 +1,5 @@
1
+ module Freee::Response
2
+ class Account < Base
3
+ end
4
+ end
5
+
@@ -0,0 +1,5 @@
1
+ module Freee::Response
2
+ class Amount < Base
3
+ end
4
+ end
5
+
@@ -0,0 +1,5 @@
1
+ module Freee::Response
2
+ class Company < Base
3
+ end
4
+ end
5
+
@@ -0,0 +1,5 @@
1
+ module Freee::Response
2
+ class Deal < Base
3
+ end
4
+ end
5
+
@@ -0,0 +1,5 @@
1
+ module Freee::Response
2
+ class Item < Base
3
+ end
4
+ end
5
+
@@ -0,0 +1,5 @@
1
+ module Freee::Response
2
+ class Partner < Base
3
+ end
4
+ end
5
+
@@ -0,0 +1,37 @@
1
+ require 'active_support/inflector'
2
+
3
+ module Freee::Response
4
+ class Base
5
+ attr_reader :val
6
+
7
+ def initialize(val)
8
+ @val = Hash.try_convert(val)
9
+ end
10
+
11
+ def method_missing(name, *args)
12
+ @val[name.to_s]
13
+ end
14
+
15
+ def [](name)
16
+ @val[name.to_s]
17
+ end
18
+
19
+ def has_key?(name)
20
+ if @val[name.to_s]
21
+ return true
22
+ else
23
+ return false
24
+ end
25
+ end
26
+ alias_method :key, :has_key?
27
+ alias_method :include?, :has_key?
28
+ alias_method :member?, :has_key?
29
+ end
30
+
31
+ class Type
32
+ def self.convert(response, type=nil)
33
+ klass = "Freee::Response::#{type.to_s.capitalize}".constantize
34
+ klass.new(response)
35
+ end
36
+ end
37
+ end
@@ -0,0 +1,5 @@
1
+ module Freee::Response
2
+ class Tax < Base
3
+ end
4
+ end
5
+
@@ -0,0 +1,5 @@
1
+ module Freee::Response
2
+ class Transfer < Base
3
+ end
4
+ end
5
+
@@ -0,0 +1,5 @@
1
+ module Freee::Response
2
+ class User < Base
3
+ end
4
+ end
5
+
@@ -0,0 +1,5 @@
1
+ module Freee::Response
2
+ class Wallet < Base
3
+ end
4
+ end
5
+
@@ -0,0 +1,5 @@
1
+ module Freee::Response
2
+ class Walletable < Base
3
+ end
4
+ end
5
+
data/lib/freee/partner.rb CHANGED
@@ -5,7 +5,10 @@ module Freee
5
5
  end
6
6
 
7
7
  def self.list(company_id)
8
- Freee.client.get("/api/1/partners?company_id=#{company_id.to_i}")
8
+ Freee.client.get(
9
+ "/api/1/partners?company_id=#{company_id.to_i}",
10
+ :partner
11
+ )
9
12
  end
10
13
  end
11
14
  end
data/lib/freee/tax.rb CHANGED
@@ -1,11 +1,14 @@
1
1
  module Freee
2
2
  class Tax < Freee::Base
3
3
  def self.list(company_id)
4
- Freee.client.get("/api/1/taxes?company_id=#{company_id.to_i}")
4
+ Freee.client.get(
5
+ "/api/1/taxes?company_id=#{company_id.to_i}",
6
+ :tax
7
+ )
5
8
  end
6
9
 
7
10
  def self.list_of_code
8
- Freee.client.get('/api/1/taxes/codes')
11
+ Freee.client.get('/api/1/taxes/codes', :tax)
9
12
  end
10
13
  end
11
14
  end
@@ -4,8 +4,12 @@ module Freee
4
4
  #client.post('/api/1/transfers')
5
5
  end
6
6
 
7
- def self.list(company_id)
8
- Freee.client.get("/api/1/transfers?company_id=#{company_id.to_i}")
7
+ def self.list(company_id, **kwargs)
8
+ params = Freee.encode_params(kwargs)
9
+ Freee.client.get(
10
+ "/api/1/transfers?company_id=#{company_id.to_i}#{params}",
11
+ :transfer
12
+ )
9
13
  end
10
14
  end
11
15
  end
data/lib/freee/user.rb CHANGED
@@ -1,11 +1,11 @@
1
1
  module Freee
2
2
  class User < Freee::Base
3
3
  def self.me
4
- Freee.client.get('/api/1/users/me')
4
+ Freee.client.get('/api/1/users/me', :user)
5
5
  end
6
6
 
7
7
  def self.me_all
8
- Freee.client.get('/api/1/users/me?companies=true')
8
+ Freee.client.get('/api/1/users/me?companies=true', :user)
9
9
  end
10
10
  end
11
11
  end
data/lib/freee/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Freee
2
- VERSION = "0.0.4"
2
+ VERSION = "0.1.0"
3
3
  end
data/lib/freee/wallet.rb CHANGED
@@ -4,8 +4,12 @@ module Freee
4
4
  #client.post('/api/1/wallet_txns')
5
5
  end
6
6
 
7
- def self.list(company_id)
8
- Freee.client.get("/api/1/wallet_txns?company_id=#{company_id.to_i}")
7
+ def self.list(company_id, **kwargs)
8
+ params = Freee.encode_params(kwargs)
9
+ Freee.client.get(
10
+ "/api/1/wallet_txns?company_id=#{company_id.to_i}#{params}",
11
+ :wallet
12
+ )
9
13
  end
10
14
  end
11
15
  end
@@ -1,7 +1,10 @@
1
1
  module Freee
2
2
  class Walletable < Freee::Base
3
3
  def self.list(company_id)
4
- Freee.client.get("/api/1/walletables?company_id=#{company_id.to_i}")
4
+ Freee.client.get(
5
+ "/api/1/walletables?company_id=#{company_id.to_i}",
6
+ :walletable
7
+ )
5
8
  end
6
9
  end
7
10
  end
data/lib/freee.rb CHANGED
@@ -20,6 +20,19 @@ require 'freee/util'
20
20
  require 'freee/wallet'
21
21
  require 'freee/walletable'
22
22
 
23
+ require 'freee/obj/response'
24
+ require 'freee/obj/account'
25
+ require 'freee/obj/amount'
26
+ require 'freee/obj/company'
27
+ require 'freee/obj/deal'
28
+ require 'freee/obj/item'
29
+ require 'freee/obj/partner'
30
+ require 'freee/obj/tax'
31
+ require 'freee/obj/transfer'
32
+ require 'freee/obj/user'
33
+ require 'freee/obj/wallet'
34
+ require 'freee/obj/walletable'
35
+
23
36
  module Freee
24
37
  OPTIONS = {
25
38
  site: 'https://api.freee.co.jp',
data/spec/account_spec.rb CHANGED
@@ -18,6 +18,7 @@ describe Freee::Account do
18
18
  describe 'should be get information of account' do
19
19
  subject { account.items(company_id) }
20
20
  it { is_expected.to include('account_items') }
21
+ it { is_expected.to be_instance_of(Freee::Response::Account) }
21
22
  end
22
23
 
23
24
  describe 'should be get information of account_items' do
data/spec/amount_spec.rb CHANGED
@@ -10,8 +10,10 @@ describe Freee::Amount do
10
10
  Freee::Base.config(client_id, secret_key, token)
11
11
  end
12
12
 
13
- it 'should can be able to create instance' do
14
- expect(amount.current_report).not_to be_nil
13
+ describe 'should can be able to create instance' do
14
+ subject { amount.current_report }
15
+ it { is_expected.not_to be_nil }
16
+ it { is_expected.to be_instance_of(Freee::Response::Amount) }
15
17
  end
16
18
 
17
19
  describe 'should be get information of amount by current' do
data/spec/company_spec.rb CHANGED
@@ -11,8 +11,10 @@ describe Freee::Company do
11
11
  Freee::Base.config(client_id, secret_key, token)
12
12
  end
13
13
 
14
- it 'should can be able to create instance' do
15
- expect(company.list).not_to be_nil
14
+ describe 'should can be able to create instance' do
15
+ subject { company.list }
16
+ it { is_expected.not_to be_nil }
17
+ it { is_expected.to be_instance_of(Freee::Response::Company) }
16
18
  end
17
19
 
18
20
  describe 'should be get first list of company' do
data/spec/deal_spec.rb CHANGED
@@ -11,8 +11,10 @@ describe Freee::Deal do
11
11
  Freee::Base.config(client_id, secret_key, token)
12
12
  end
13
13
 
14
- it 'should can be able to create instance' do
15
- expect(deal.list(company_id)).not_to be_nil
14
+ describe 'should can be able to create instance' do
15
+ subject { deal.list(company_id) }
16
+ it { is_expected.not_to be_nil }
17
+ it { is_expected.to be_instance_of(Freee::Response::Deal) }
16
18
  end
17
19
 
18
20
  describe 'should get deals for the company' do
@@ -57,4 +59,50 @@ describe Freee::Deal do
57
59
  it { is_expected.to include('from_walletable_id') }
58
60
  it { is_expected.to include('amount') }
59
61
  end
62
+
63
+ describe 'should get payments from deals for the company with start_due_date' do
64
+ subject do
65
+ result = deal.list(company_id, start_due_date: '2014-06-25')['deals']
66
+ __memoize = result
67
+
68
+ result.select! { |x| x['due_date'] >= '2014-06-25' }
69
+ result.map! { |x| x['due_date'] }
70
+
71
+ __memoize.map! { |x| x['due_date'] }
72
+
73
+ result.length == __memoize.length
74
+ end
75
+
76
+ it { is_expected.not_to be_nil }
77
+ it { is_expected.to be_truthy }
78
+ end
79
+
80
+ describe 'should get payments from future deals for the company with start_due_date' do
81
+ subject { deal.list(company_id, start_due_date: '2099-12-31')['deals'] }
82
+
83
+ it { is_expected.not_to be_nil }
84
+ it { is_expected.to eq [] }
85
+ end
86
+
87
+ describe 'should get payments for deals with income' do
88
+ subject do
89
+ result = deal.list_income(company_id)['deals']
90
+ result.map! { |x| x['type'] == 'income' }
91
+ Set.new(result).length
92
+ end
93
+
94
+ it { is_expected.not_to be_nil }
95
+ it { is_expected.to eq 1 }
96
+ end
97
+
98
+ describe 'should get payments for deals with outcome' do
99
+ subject do
100
+ result = deal.list_expense(company_id)['deals']
101
+ result.map! { |x| x['type'] == 'expense' }
102
+ Set.new(result).length
103
+ end
104
+
105
+ it { is_expected.not_to be_nil }
106
+ it { is_expected.to eq 1 }
107
+ end
60
108
  end
data/spec/item_spec.rb CHANGED
@@ -11,8 +11,10 @@ describe Freee::Item do
11
11
  Freee::Base.config(client_id, secret_key, token)
12
12
  end
13
13
 
14
- it 'should can be able to create instance' do
15
- expect(item.list(company_id)).not_to be_nil
14
+ describe 'should can be able to create instance' do
15
+ subject { item.list(company_id) }
16
+ it { is_expected.not_to be_nil }
17
+ it { is_expected.to be_instance_of(Freee::Response::Item) }
16
18
  end
17
19
 
18
20
  describe 'should get information of first item for the company' do
data/spec/partner_spec.rb CHANGED
@@ -12,7 +12,9 @@ describe Freee::Partner do
12
12
  end
13
13
 
14
14
  it 'should can be able to create instance' do
15
- expect(partner.list(company_id)).not_to be_nil
15
+ subject { partner.list(company_id) }
16
+ it { is_expected.not_to be_nil }
17
+ it { is_expected.to be_instance_of(Freee::Response::Partner) }
16
18
  end
17
19
 
18
20
  describe 'should get partners of first item for the company' do
data/spec/spec_helper.rb CHANGED
@@ -1,3 +1,5 @@
1
+ require 'set'
2
+
1
3
  $:.unshift(File.realpath(File.dirname(__FILE__) + '/../lib'))
2
4
 
3
5
  require 'freee'
data/spec/tax_spec.rb CHANGED
@@ -11,8 +11,10 @@ describe Freee::Tax do
11
11
  Freee::Base.config(client_id, secret_key, token)
12
12
  end
13
13
 
14
- it 'should can be able to create instance' do
15
- expect(tax.list(company_id)).not_to be_nil
14
+ describe 'should can be able to create instance' do
15
+ subject { tax.list(company_id) }
16
+ it { is_expected.not_to be_nil }
17
+ it { is_expected.to be_instance_of(Freee::Response::Tax) }
16
18
  end
17
19
 
18
20
  describe 'should get item of tax for the company' do
@@ -11,8 +11,10 @@ describe Freee::Transfer do
11
11
  Freee::Base.config(client_id, secret_key, token)
12
12
  end
13
13
 
14
- it 'should be able to get client' do
15
- expect(transfer.list(company_id)).not_to be_nil
14
+ describe 'should be able to get client' do
15
+ subject { transfer.list(company_id) }
16
+ it { is_expected.not_to be_nil }
17
+ it { is_expected.to be_instance_of(Freee::Response::Transfer) }
16
18
  end
17
19
 
18
20
  it 'should be get information of transfers for the company' do
@@ -33,4 +35,11 @@ describe Freee::Transfer do
33
35
  it { is_expected.to include('to_walletable_id') }
34
36
  it { is_expected.to include('description') }
35
37
  end
38
+
39
+ describe "should be get one's information of first transfers for the company" do
40
+ subject { transfer.list(company_id, limit: 3)['transfers'].length }
41
+
42
+ it { is_expected.not_to be_nil }
43
+ it { is_expected.to eq 3 }
44
+ end
36
45
  end
data/spec/user_spec.rb CHANGED
@@ -10,10 +10,11 @@ describe Freee::User do
10
10
  Freee::Base.config(client_id, secret_key, token)
11
11
  end
12
12
 
13
- it 'should be get information of user' do
14
- result = user.me
15
- expect(result).to include('user')
16
- expect(result['user']).not_to include('companies')
13
+ describe 'should be get information of user' do
14
+ subject { user.me }
15
+ it { is_expected.not_to be_nil }
16
+ it { is_expected.to be_instance_of(Freee::Response::User) }
17
+ it { is_expected.to include('user') }
17
18
  end
18
19
 
19
20
  it 'should be get information of user at all' do
data/spec/wallet_spec.rb CHANGED
@@ -11,8 +11,10 @@ describe Freee::Wallet do
11
11
  Freee::Base.config(client_id, secret_key, token)
12
12
  end
13
13
 
14
- it 'should can be able to create instance' do
15
- expect(wallet.list(company_id)).not_to be_nil
14
+ describe 'should can be able to create instance' do
15
+ subject { wallet.list(company_id) }
16
+ it { is_expected.not_to be_nil }
17
+ it { is_expected.to be_instance_of(Freee::Response::Wallet) }
16
18
  end
17
19
 
18
20
  describe 'should get information of wallet txns for the company' do
@@ -36,4 +38,24 @@ describe Freee::Wallet do
36
38
  it { is_expected.to include('walletable_type') }
37
39
  it { is_expected.to include('walletable_id') }
38
40
  end
41
+
42
+ describe 'should get information of first wallet txns with walletable type' do
43
+ subject do
44
+ result = wallet.list(company_id, walletable_type: 'bank_account')['wallet_txns']
45
+ result.map! { |x| x['walletable_type'] }
46
+ Set.new(result).length
47
+ end
48
+
49
+ it { is_expected.not_to be_nil }
50
+ it { is_expected.to eq 1 }
51
+ end
52
+
53
+ describe "should get information of one's wallet txns" do
54
+ subject do
55
+ wallet.list(company_id, limit: 2)['wallet_txns'].length
56
+ end
57
+
58
+ it { is_expected.not_to be_nil }
59
+ it { is_expected.to eq 2 }
60
+ end
39
61
  end
@@ -11,8 +11,10 @@ describe Freee::Walletable do
11
11
  Freee::Base.config(client_id, secret_key, token)
12
12
  end
13
13
 
14
- it 'should can be able to create instance' do
15
- expect(walletable.list(company_id)).not_to be_nil
14
+ describe 'should can be able to create instance' do
15
+ subject { walletable.list(company_id) }
16
+ it { is_expected.not_to be_nil }
17
+ it { is_expected.to be_instance_of(Freee::Response::Walletable) }
16
18
  end
17
19
 
18
20
  describe 'should get information of walletable for the company' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: freee
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keiji Matsuzaki
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-29 00:00:00.000000000 Z
11
+ date: 2014-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oauth2
@@ -80,6 +80,20 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: activesupport
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: bundler
85
99
  requirement: !ruby/object:Gem::Requirement
@@ -145,6 +159,18 @@ files:
145
159
  - lib/freee/company.rb
146
160
  - lib/freee/deal.rb
147
161
  - lib/freee/item.rb
162
+ - lib/freee/obj/account.rb
163
+ - lib/freee/obj/amount.rb
164
+ - lib/freee/obj/company.rb
165
+ - lib/freee/obj/deal.rb
166
+ - lib/freee/obj/item.rb
167
+ - lib/freee/obj/partner.rb
168
+ - lib/freee/obj/response.rb
169
+ - lib/freee/obj/tax.rb
170
+ - lib/freee/obj/transfer.rb
171
+ - lib/freee/obj/user.rb
172
+ - lib/freee/obj/wallet.rb
173
+ - lib/freee/obj/walletable.rb
148
174
  - lib/freee/partner.rb
149
175
  - lib/freee/tax.rb
150
176
  - lib/freee/transfer.rb