Class: ComboClientSubscriptionManager
- Inherits:
-
Object
- Object
- ComboClientSubscriptionManager
- Defined in:
- lib/comboclient.rb
Instance Method Summary collapse
- #cancel ⇒ Object
-
#initialize ⇒ ComboClientSubscriptionManager
constructor
A new instance of ComboClientSubscriptionManager.
- #is_active? ⇒ Boolean
Constructor Details
#initialize ⇒ ComboClientSubscriptionManager
Returns a new instance of ComboClientSubscriptionManager.
32 33 34 |
# File 'lib/comboclient.rb', line 32 def initialize @active = true end |
Instance Method Details
#cancel ⇒ Object
35 36 37 |
# File 'lib/comboclient.rb', line 35 def cancel @active = false end |
#is_active? ⇒ Boolean
39 40 41 |
# File 'lib/comboclient.rb', line 39 def is_active? @active end |