class Ingenico::Direct::SDK::Domain::ExternalTokenLinked
@attr [String] gts_computed_token
Attributes
gts_computed_token[RW]
Public Instance Methods
from_hash(hash)
click to toggle source
Calls superclass method
Ingenico::Direct::SDK::DataObject#from_hash
# File lib/ingenico/direct/sdk/domain/external_token_linked.rb, line 21 def from_hash(hash) super @gts_computed_token = hash['GTSComputedToken'] if hash.key? 'GTSComputedToken' end
to_h()
click to toggle source
@return (Hash)
Calls superclass method
Ingenico::Direct::SDK::DataObject#to_h
# File lib/ingenico/direct/sdk/domain/external_token_linked.rb, line 15 def to_h hash = super hash['GTSComputedToken'] = @gts_computed_token unless @gts_computed_token.nil? hash end