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

Class Method Details

.adapterConfiguration

getter for adapter class attributes

Returns:



49
50
51
# File 'lib/gcal_mapper/mapper.rb', line 49

def self.adapter
  @@adapter
end

.adapter=(adapter) ⇒ Object

setter for adapter class attributes

Parameters:



42
43
44
# File 'lib/gcal_mapper/mapper.rb', line 42

def self.adapter=(adapter)
  @@adapter = adapter
end

.baseClass

reader for class varaible base

Returns:

  • (Class)

    class name of the includer



21
22
23
# File 'lib/gcal_mapper/mapper.rb', line 21

def self.base
  @@base
end

.base=(base) ⇒ Class

setter for class varaible base

Returns:

  • (Class)

    class name of the includer



14
15
16
# File 'lib/gcal_mapper/mapper.rb', line 14

def self.base=(base)
  @@base = base
end

.configConfiguration

getter for config class attributes

Returns:



35
36
37
# File 'lib/gcal_mapper/mapper.rb', line 35

def self.config
  @@config
end

.config=(config) ⇒ Object

setter for config class attributes

Parameters:



28
29
30
# File 'lib/gcal_mapper/mapper.rb', line 28

def self.config=(config)
  @@config = config
end