Exception: Pay::ActionRequired
Instance Attribute Summary collapse
-
#payment ⇒ Object
readonly
Returns the value of attribute payment.
Instance Method Summary collapse
-
#initialize(payment) ⇒ ActionRequired
constructor
A new instance of ActionRequired.
- #message ⇒ Object
Constructor Details
#initialize(payment) ⇒ ActionRequired
Returns a new instance of ActionRequired.
134 135 136 |
# File 'lib/pay.rb', line 134 def initialize(payment) @payment = payment end |
Instance Attribute Details
#payment ⇒ Object (readonly)
Returns the value of attribute payment.
132 133 134 |
# File 'lib/pay.rb', line 132 def payment @payment end |
Instance Method Details
#message ⇒ Object
138 139 140 |
# File 'lib/pay.rb', line 138 def "This payment attempt failed because additional action is required before it can be completed." end |