Module: GcalMapper::Mapper::Simple
- Defined in:
- lib/gcal_mapper/mapper/simple.rb
Overview
module to include when no orm is used
Defined Under Namespace
Classes: Simple
Class Method Summary collapse
-
.included(base) ⇒ Object
execute when the file is included.
Class Method Details
.included(base) ⇒ Object
execute when the file is included
11 12 13 14 15 |
# File 'lib/gcal_mapper/mapper/simple.rb', line 11 def self.included(base) base.extend(GcalMapper::Mapper::ClassMethods) Mapper.base = base Mapper.adapter = Simple.new(base) end |