Module: Fleximage::AviaryController
- Defined in:
- lib/fleximage/aviary_controller.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
- .api_key(value = nil) ⇒ Object
- .api_key=(value = nil) ⇒ Object
-
.included(base) ⇒ Object
Include acts_as_fleximage class method.
Class Method Details
.api_key(value = nil) ⇒ Object
4 5 6 |
# File 'lib/fleximage/aviary_controller.rb', line 4 def self.api_key(value = nil) value ? @api_key = value : @api_key end |
.api_key=(value = nil) ⇒ Object
8 9 10 |
# File 'lib/fleximage/aviary_controller.rb', line 8 def self.api_key=(value = nil) api_key value end |
.included(base) ⇒ Object
Include acts_as_fleximage class method
13 14 15 |
# File 'lib/fleximage/aviary_controller.rb', line 13 def self.included(base) #:nodoc: base.extend(ClassMethods) end |