Module: InfluxORM::InitModuleGenerator
- Defined in:
- lib/influx_orm/init_module_generator.rb
Defined Under Namespace
Modules: ModuleClassMethods, ORMClassMethods
Class Method Summary collapse
Class Method Details
.new(configuration) ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/influx_orm/init_module_generator.rb', line 3 def self.new(configuration) Module.new do extend ActiveSupport::Concern extend ModuleClassMethods @configuration = configuration included do |cls| @configuration = configuration extend ORMClassMethods include Model include Attributes end end end |