Module: Consumerable
- Extended by:
- ActiveSupport::Autoload
- Defined in:
- lib/consumerable.rb,
lib/consumerable/model.rb,
lib/consumerable/errors.rb,
lib/consumerable/version.rb,
lib/consumerable/listable.rb,
lib/consumerable/creatable.rb,
lib/consumerable/deletable.rb,
lib/consumerable/connection.rb,
lib/consumerable/associations.rb,
lib/consumerable/configuration.rb,
lib/consumerable/associations/has_many.rb,
lib/consumerable/errors/record_invalid.rb,
lib/consumerable/associations/belongs_to.rb,
lib/consumerable/associations/has_many_proxy.rb
Defined Under Namespace
Modules: Associations, Creatable, Deletable, Errors, Listable, Model Classes: Configuration, Connection
Constant Summary collapse
- VERSION =
'0.1.0'
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
7 8 9 |
# File 'lib/consumerable.rb', line 7 def configuration @configuration end |
Class Method Details
.configure {|self.configuration| ... } ⇒ Object
10 11 12 13 14 |
# File 'lib/consumerable.rb', line 10 def self.configure self.configuration = Consumerable::Configuration.new yield self.configuration self.configuration end |
.eager_autoload! ⇒ Object
26 27 28 29 |
# File 'lib/consumerable.rb', line 26 def self.eager_autoload! super Consumerable::Associations.eager_load! end |