Module: PayoneerApi::API::Payees

Extended by:
ActiveSupport::Concern
Includes:
Utils
Included in:
PayoneerApi::API
Defined in:
lib/payoneer_api/api/payees.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Methods included from Utils

#bool_to_string, #payout_methods_list, #perform, #perform_with_object

Instance Method Details

#payee_details(payee_id) ⇒ Object



37
38
39
40
41
# File 'lib/payoneer_api/api/payees.rb', line 37

def payee_details(payee_id)
  perform_with_object :get,
    payee_request_args('GetPayeeDetails', payee_id),
    PayoneerApi::Payee
end

#payee_prefilled_signup_url(payee_id, attributes = {}) ⇒ Object



31
32
33
34
35
# File 'lib/payoneer_api/api/payees.rb', line 31

def (payee_id, attributes = {})
  perform_with_object :post,
    (attributes.merge(payee_id: payee_id)),
    PayoneerApi::PayoneerToken
end

#payee_signup_url(payee_id, attributes = {}) ⇒ Object



25
26
27
28
29
# File 'lib/payoneer_api/api/payees.rb', line 25

def (payee_id, attributes = {})
  perform_with_object :get,
    (attributes.merge(payee_id: payee_id)),
    PayoneerApi::PayoneerToken
end