Class: ZeroClick::Sellers::VerifyOk
- Inherits:
-
Object
- Object
- ZeroClick::Sellers::VerifyOk
- Defined in:
- lib/zeroclick/sellers/contracts.rb
Overview
-- verification results ------------------------------------------------
Instance Attribute Summary collapse
-
#context ⇒ Object
readonly
Returns the value of attribute context.
Instance Method Summary collapse
-
#initialize(context) ⇒ VerifyOk
constructor
A new instance of VerifyOk.
- #ok? ⇒ Boolean
Constructor Details
#initialize(context) ⇒ VerifyOk
Returns a new instance of VerifyOk.
105 106 107 108 |
# File 'lib/zeroclick/sellers/contracts.rb', line 105 def initialize(context) @context = context freeze end |
Instance Attribute Details
#context ⇒ Object (readonly)
Returns the value of attribute context.
103 104 105 |
# File 'lib/zeroclick/sellers/contracts.rb', line 103 def context @context end |
Instance Method Details
#ok? ⇒ Boolean
110 |
# File 'lib/zeroclick/sellers/contracts.rb', line 110 def ok? = true |