Class: Locomotive::WuBook::Plugin
- Inherits:
-
Object
- Object
- Locomotive::WuBook::Plugin
- Includes:
- Plugin
- Defined in:
- lib/locomotive/wubook/plugin.rb
Class Method Summary collapse
Instance Method Summary collapse
- #config_template_file ⇒ Object
-
#initialize ⇒ Plugin
constructor
A new instance of Plugin.
Constructor Details
#initialize ⇒ Plugin
Returns a new instance of Plugin.
23 24 25 |
# File 'lib/locomotive/wubook/plugin.rb', line 23 def initialize end |
Class Method Details
.default_plugin_id ⇒ Object
19 20 21 |
# File 'lib/locomotive/wubook/plugin.rb', line 19 def self.default_plugin_id 'wubook' end |
.liquid_tags ⇒ Object
31 32 33 34 35 36 37 38 |
# File 'lib/locomotive/wubook/plugin.rb', line 31 def self. { :available => AvailableDaysTag, :checkInterval => CheckIntervalTag, :setAsBooked => SetAsBookedTag, :prices => PricesTag } end |
Instance Method Details
#config_template_file ⇒ Object
27 28 29 |
# File 'lib/locomotive/wubook/plugin.rb', line 27 def config_template_file File.join(File.dirname(__FILE__), 'plugin', 'config.haml') end |