Class: Metazilla::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/metazilla.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



21
22
23
24
# File 'lib/metazilla.rb', line 21

def initialize
  @separator = ' | '
  @mapping = { create: :new, update: :edit }
end

Instance Attribute Details

#mappingObject

Returns the value of attribute mapping.



19
20
21
# File 'lib/metazilla.rb', line 19

def mapping
  @mapping
end

#separatorObject

Returns the value of attribute separator.



19
20
21
# File 'lib/metazilla.rb', line 19

def separator
  @separator
end