class Ingenico::Direct::SDK::Domain::TestConnection

@attr [String] result

Attributes

result[RW]

Public Instance Methods

from_hash(hash) click to toggle source
# File lib/ingenico/direct/sdk/domain/test_connection.rb, line 21
def from_hash(hash)
  super
  @result = hash['result'] if hash.key? 'result'
end
to_h() click to toggle source

@return (Hash)

Calls superclass method Ingenico::Direct::SDK::DataObject#to_h
# File lib/ingenico/direct/sdk/domain/test_connection.rb, line 15
def to_h
  hash = super
  hash['result'] = @result unless @result.nil?
  hash
end