Class: AdaptivePayments::PayRequest
Instance Method Summary
collapse
included
build_response, for_operation, operation
Methods included from Aliases
#alias_param, #alias_params
#from_json, #to_attributes
#to_hash, #to_json
Instance Method Details
#allowed_funding_types ⇒ Object
53
54
55
|
# File 'lib/pp-adaptive/pay_request.rb', line 53
def allowed_funding_types
allowed_funding_type_info.collect { |info| info[:funding_type] }
end
|
#allowed_funding_types=(list_of_types) ⇒ Object
57
58
59
|
# File 'lib/pp-adaptive/pay_request.rb', line 57
def allowed_funding_types=(list_of_types)
self.allowed_funding_type_info = list_of_types.map { |t| { :funding_type => t } }
end
|