Module: InfluxORM::Attributes

Defined in:
lib/influx_orm/attributes.rb

Defined Under Namespace

Modules: ClassMethods

Constant Summary collapse

ATTR_TYPES =
%w{int float string boolean}.map(&:to_sym)

Class Method Summary collapse

Class Method Details

.included(cls) ⇒ Object



4
5
6
# File 'lib/influx_orm/attributes.rb', line 4

def self.included(cls)
  cls.extend(ClassMethods)
end