Class: Workarea::GiftCards::Gateway::Response

Inherits:
Struct
  • Object
show all
Defined in:
lib/workarea/gift_cards/gateway.rb

Overview

Object returns from transaction requests.

Instance Attribute Summary collapse

Instance Attribute Details

#messageString

information on the transaction result

Returns:

  • (String)

    the current value of message



9
10
11
# File 'lib/workarea/gift_cards/gateway.rb', line 9

def message
  @message
end

#success?Boolean

whether the transaction was successful or not

Returns:

  • (Boolean)

    the current value of success?



9
10
11
# File 'lib/workarea/gift_cards/gateway.rb', line 9

def success?
  @success?
end