-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathwithdrawal.rb
41 lines (38 loc) · 1.12 KB
/
withdrawal.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
module Wepay
module Api
class Withdrawal < Base
##
# @param params [Hash] See documentation below
# @return [Hashie::Mash]
# @docs [/withdrawal](https://www.wepay.com/developer/reference/withdrawal#lookup)
#
def show(params)
post 'withdrawal', params
end
##
# @param params [Hash] See documentation below
# @return [Hashie::Mash]
# @docs [/withdrawal/find](https://www.wepay.com/developer/reference/withdrawal#find)
#
def find(params)
post 'withdrawal/find', params
end
##
# @param params [Hash] See documentation below
# @return [Hashie::Mash]
# @docs [/withdrawal/create](https://www.wepay.com/developer/reference/withdrawal#create)
#
def create(params)
post 'withdrawal/create', params
end
##
# @param params [Hash] See documentation below
# @return [Hashie::Mash]
# @docs [/withdrawal/modify](https://www.wepay.com/developer/reference/withdrawal#modify)
#
def modify(params)
post 'withdrawal/modify', params
end
end
end
end