Class: OffsitePayments::Integrations::Ipay88::Return
- Defined in:
- lib/offsite_payments/integrations/ipay88.rb
Instance Attribute Summary
Attributes inherited from Return
Instance Method Summary collapse
- #cancelled? ⇒ Boolean
-
#initialize(query_string, options = {}) ⇒ Return
constructor
A new instance of Return.
- #message ⇒ Object
- #success? ⇒ Boolean
Methods inherited from Return
Constructor Details
#initialize(query_string, options = {}) ⇒ Return
Returns a new instance of Return.
232 233 234 235 |
# File 'lib/offsite_payments/integrations/ipay88.rb', line 232 def initialize(query_string, = {}) super @notification = Notification.new(query_string, ) end |
Instance Method Details
#cancelled? ⇒ Boolean
241 242 243 |
# File 'lib/offsite_payments/integrations/ipay88.rb', line 241 def cancelled? params["ErrDesc"] == CANCELLED_ERROR_DESCRIPTION end |
#message ⇒ Object
245 246 247 |
# File 'lib/offsite_payments/integrations/ipay88.rb', line 245 def params["ErrDesc"] end |
#success? ⇒ Boolean
237 238 239 |
# File 'lib/offsite_payments/integrations/ipay88.rb', line 237 def success? params["Status"] == "1" end |