Module: Caffeinate::Dripper::Campaign
- Included in:
- Base
- Defined in:
- lib/caffeinate/dripper/campaign.rb
Overview
Campaign methods for ‘Caffeinate::Dripper`.
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
-
.included(klass) ⇒ Object
:nodoc:.
Instance Method Summary collapse
-
#campaign ⇒ Object
The campaign for this Dripper.
Class Method Details
.included(klass) ⇒ Object
:nodoc:
8 9 10 |
# File 'lib/caffeinate/dripper/campaign.rb', line 8 def self.included(klass) klass.extend ClassMethods end |
Instance Method Details
#campaign ⇒ Object
The campaign for this Dripper
15 16 17 |
# File 'lib/caffeinate/dripper/campaign.rb', line 15 def campaign self.class.caffeinate_campaign end |