class PaysonAPI::V1::Requests::PaymentDetails

Attributes

token[RW]

Public Class Methods

new(token) click to toggle source
# File lib/payson_api/v1/requests/payment_details.rb, line 9
def initialize(token)
  @token = token
end

Public Instance Methods

to_hash() click to toggle source
# File lib/payson_api/v1/requests/payment_details.rb, line 13
def to_hash
  { 'token' => @token }
end