Class: ZeroClick::Sellers::Stateful::ParseOk
- Inherits:
-
Object
- Object
- ZeroClick::Sellers::Stateful::ParseOk
- Defined in:
- lib/zeroclick/sellers/stateful/entitlement.rb
Instance Attribute Summary collapse
-
#entitlement ⇒ Object
readonly
Returns the value of attribute entitlement.
Instance Method Summary collapse
-
#initialize(entitlement) ⇒ ParseOk
constructor
A new instance of ParseOk.
- #ok? ⇒ Boolean
Constructor Details
#initialize(entitlement) ⇒ ParseOk
Returns a new instance of ParseOk.
18 19 20 21 |
# File 'lib/zeroclick/sellers/stateful/entitlement.rb', line 18 def initialize(entitlement) @entitlement = entitlement freeze end |
Instance Attribute Details
#entitlement ⇒ Object (readonly)
Returns the value of attribute entitlement.
16 17 18 |
# File 'lib/zeroclick/sellers/stateful/entitlement.rb', line 16 def entitlement @entitlement end |
Instance Method Details
#ok? ⇒ Boolean
23 |
# File 'lib/zeroclick/sellers/stateful/entitlement.rb', line 23 def ok? = true |