module Telleroo::API::Recipients
Telleroo
Recipients
. These are Bank Accounts
that receive funds
Public Instance Methods
create_recipient(name: nil, currency_code: nil, options: {})
click to toggle source
@return [Hash]
# File lib/telleroo/api/recipients.rb, line 61 def create_recipient(name: nil, currency_code: nil, options: {}) params = { name: name, currency_code: currency_code }.merge(options) post('recipients', params) end
delete_recipient(id)
click to toggle source
@param [String] id The Telleroo
ID of the Recipient
# File lib/telleroo/api/recipients.rb, line 74 def delete_recipient(id) delete("recipients/#{id}") end
get_recipient(id)
click to toggle source
@param [String] id The Telleroo
ID of the Recipient @return [Hash]
# File lib/telleroo/api/recipients.rb, line 37 def get_recipient(id) get("recipients/#{id}") end
recipients()
click to toggle source
@return [Array]
# File lib/telleroo/api/recipients.rb, line 29 def recipients get('recipients') end