Class: OffsitePayments::Integrations::DirecPay::Return
- Defined in:
- lib/offsite_payments/integrations/direc_pay.rb
Instance Attribute Summary
Attributes inherited from Return
Instance Method Summary collapse
-
#initialize(post_data, options = {}) ⇒ Return
constructor
A new instance of Return.
- #message ⇒ Object
- #success? ⇒ Boolean
Methods inherited from Return
Constructor Details
#initialize(post_data, options = {}) ⇒ Return
Returns a new instance of Return.
291 292 293 |
# File 'lib/offsite_payments/integrations/direc_pay.rb', line 291 def initialize(post_data, = {}) @notification = Notification.new(post_data, ) end |
Instance Method Details
#message ⇒ Object
299 300 301 |
# File 'lib/offsite_payments/integrations/direc_pay.rb', line 299 def notification.status end |
#success? ⇒ Boolean
295 296 297 |
# File 'lib/offsite_payments/integrations/direc_pay.rb', line 295 def success? notification.complete? end |