class SynapsePayRest::IouNode

Non-USD payments can be tracked using the IOU node type. This can be anything (e.g. another currency or commodity).

Private Class Methods

payload_for_create(nickname:, currency:, **options) click to toggle source
# File lib/synapse_pay_rest/models/node/iou_node.rb, line 8
def payload_for_create(nickname:, currency:, **options)
  args = {
    type: 'IOU',
    nickname: nickname,
    currency: currency
  }.merge(options)
  super(args)
end