Module: GcalMapper::Mapper
- Defined in:
- lib/gcal_mapper/mapper.rb,
lib/gcal_mapper/mapper/dsl.rb,
lib/gcal_mapper/mapper/simple.rb,
lib/gcal_mapper/mapper/active_record.rb
Overview
Provide dsl en sync methods
Defined Under Namespace
Modules: ActiveRecord, ClassMethods, Simple Classes: DSL
Class Method Summary collapse
-
.adapter ⇒ Configuration
getter for adapter class attributes.
-
.adapter=(adapter) ⇒ Object
setter for adapter class attributes.
-
.base ⇒ Class
reader for class varaible base.
-
.base=(base) ⇒ Class
setter for class varaible base.
-
.config ⇒ Configuration
getter for config class attributes.
-
.config=(config) ⇒ Object
setter for config class attributes.
Class Method Details
.adapter ⇒ Configuration
getter for adapter class attributes
49 50 51 |
# File 'lib/gcal_mapper/mapper.rb', line 49 def self.adapter @@adapter end |
.adapter=(adapter) ⇒ Object
setter for adapter class attributes
42 43 44 |
# File 'lib/gcal_mapper/mapper.rb', line 42 def self.adapter=(adapter) @@adapter = adapter end |
.base ⇒ Class
reader for class varaible base
21 22 23 |
# File 'lib/gcal_mapper/mapper.rb', line 21 def self.base @@base end |
.base=(base) ⇒ Class
setter for class varaible base
14 15 16 |
# File 'lib/gcal_mapper/mapper.rb', line 14 def self.base=(base) @@base = base end |
.config ⇒ Configuration
getter for config class attributes
35 36 37 |
# File 'lib/gcal_mapper/mapper.rb', line 35 def self.config @@config end |
.config=(config) ⇒ Object
setter for config class attributes
28 29 30 |
# File 'lib/gcal_mapper/mapper.rb', line 28 def self.config=(config) @@config = config end |