Class: ZeroClick::Sellers::VerifyFailure
- Inherits:
-
Object
- Object
- ZeroClick::Sellers::VerifyFailure
- Defined in:
- lib/zeroclick/sellers/contracts.rb
Instance Attribute Summary collapse
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(reason, response) ⇒ VerifyFailure
constructor
A new instance of VerifyFailure.
- #ok? ⇒ Boolean
Constructor Details
#initialize(reason, response) ⇒ VerifyFailure
Returns a new instance of VerifyFailure.
116 117 118 119 120 |
# File 'lib/zeroclick/sellers/contracts.rb', line 116 def initialize(reason, response) @reason = reason @response = response freeze end |
Instance Attribute Details
#reason ⇒ Object (readonly)
Returns the value of attribute reason.
114 115 116 |
# File 'lib/zeroclick/sellers/contracts.rb', line 114 def reason @reason end |
#response ⇒ Object (readonly)
Returns the value of attribute response.
114 115 116 |
# File 'lib/zeroclick/sellers/contracts.rb', line 114 def response @response end |
Instance Method Details
#ok? ⇒ Boolean
122 |
# File 'lib/zeroclick/sellers/contracts.rb', line 122 def ok? = false |