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