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.
16 17 18 19 |
# File 'lib/zeroclick/sellers/stateful/entitlement.rb', line 16 def initialize(entitlement) @entitlement = entitlement freeze end |
Instance Attribute Details
#entitlement ⇒ Object (readonly)
Returns the value of attribute entitlement.
14 15 16 |
# File 'lib/zeroclick/sellers/stateful/entitlement.rb', line 14 def entitlement @entitlement end |
Instance Method Details
#ok? ⇒ Boolean
21 |
# File 'lib/zeroclick/sellers/stateful/entitlement.rb', line 21 def ok? = true |