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.
112 113 114 115 |
# File 'lib/zeroclick/sellers/contracts.rb', line 112 def initialize(context) @context = context freeze end |
Instance Attribute Details
#context ⇒ Object (readonly)
Returns the value of attribute context.
110 111 112 |
# File 'lib/zeroclick/sellers/contracts.rb', line 110 def context @context end |
Instance Method Details
#ok? ⇒ Boolean
117 |
# File 'lib/zeroclick/sellers/contracts.rb', line 117 def ok? = true |