Class: NormalizeOptions::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/service_api/normalize_options/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options, mapper) ⇒ Base

Returns a new instance of Base.



5
6
7
8
9
# File 'lib/service_api/normalize_options/base.rb', line 5

def initialize(options, mapper)
  @options = options
  @mapper = mapper
  @new_options = {}
end

Instance Attribute Details

#mapperObject (readonly)

Returns the value of attribute mapper.



3
4
5
# File 'lib/service_api/normalize_options/base.rb', line 3

def mapper
  @mapper
end

#new_optionsObject (readonly)

Returns the value of attribute new_options.



3
4
5
# File 'lib/service_api/normalize_options/base.rb', line 3

def new_options
  @new_options
end

#optionsObject (readonly)

Returns the value of attribute options.



3
4
5
# File 'lib/service_api/normalize_options/base.rb', line 3

def options
  @options
end