Exception: Pay::BraintreeError
Direct Known Subclasses
Instance Attribute Summary collapse
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(result = nil) ⇒ BraintreeError
constructor
A new instance of BraintreeError.
Constructor Details
#initialize(result = nil) ⇒ BraintreeError
Returns a new instance of BraintreeError.
111 112 113 |
# File 'lib/pay.rb', line 111 def initialize(result = nil) @result = result end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
109 110 111 |
# File 'lib/pay.rb', line 109 def result @result end |