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.
137 138 139 |
# File 'lib/pay.rb', line 137 def initialize(payment) @payment = payment end |
Instance Attribute Details
#payment ⇒ Object (readonly)
Returns the value of attribute payment.
135 136 137 |
# File 'lib/pay.rb', line 135 def payment @payment end |
Instance Method Details
#message ⇒ Object
141 142 143 |
# File 'lib/pay.rb', line 141 def "This payment attempt failed because additional action is required before it can be completed." end |