Class: GmoServices::Payments::Member
- Inherits:
-
Base
- Object
- Base
- GmoServices::Payments::Member
show all
- Defined in:
- lib/gmo_services/payments/member.rb
Instance Attribute Summary
Attributes inherited from Base
#base_api_url, #settings, #shop_id, #shop_pass, #site_id, #site_pass
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#add_card_by_token(params) ⇒ Object
30
31
32
33
34
|
# File 'lib/gmo_services/payments/member.rb', line 30
def add_card_by_token(params)
api_url = settings.add_card_to_member_api_url
params = initialize_params_of_add_card_by_token(params)
post_request(api_url, params)
end
|
#delete_card(params) ⇒ Object
42
43
44
45
46
|
# File 'lib/gmo_services/payments/member.rb', line 42
def delete_card(params)
api_url = settings.delete_card_api_url
params = initialize_params_of_delete_card(params)
post_request(api_url, params)
end
|
#delete_member(params) ⇒ Object
24
25
26
27
28
|
# File 'lib/gmo_services/payments/member.rb', line 24
def delete_member(params)
api_url = settings.delete_member_api_url
params = initialize_params_of_delete_member(params)
post_request(api_url, params)
end
|
#register_member(params) ⇒ Object
6
7
8
9
10
|
# File 'lib/gmo_services/payments/member.rb', line 6
def register_member(params)
api_url = settings.register_member_api_url
params = initialize_params_of_register_member(params)
post_request(api_url, params)
end
|
#search_card(params) ⇒ Object
36
37
38
39
40
|
# File 'lib/gmo_services/payments/member.rb', line 36
def search_card(params)
api_url = settings.search_card_api_url
params = initialize_params_of_search_card(params)
post_request(api_url, params)
end
|
#search_member(params) ⇒ Object
12
13
14
15
16
|
# File 'lib/gmo_services/payments/member.rb', line 12
def search_member(params)
api_url = settings.search_member_api_url
params = initialize_params_of_search_member(params)
post_request(api_url, params)
end
|
#update_member(params) ⇒ Object
18
19
20
21
22
|
# File 'lib/gmo_services/payments/member.rb', line 18
def update_member(params)
api_url = settings.update_member_api_url
params = initialize_params_of_update_member(params)
post_request(api_url, params)
end
|