Class: NormalizeOptions::Base
- Inherits:
-
Object
- Object
- NormalizeOptions::Base
- Defined in:
- lib/service_api/normalize_options/base.rb
Direct Known Subclasses
HashWithMapperHash, NormalWithMapperArray, NormalWithMapperHash
Instance Attribute Summary collapse
-
#mapper ⇒ Object
readonly
Returns the value of attribute mapper.
-
#new_options ⇒ Object
readonly
Returns the value of attribute new_options.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(options, mapper) ⇒ Base
constructor
A new instance of Base.
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(, mapper) @options = @mapper = mapper @new_options = {} end |
Instance Attribute Details
#mapper ⇒ Object (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_options ⇒ Object (readonly)
Returns the value of attribute new_options.
3 4 5 |
# File 'lib/service_api/normalize_options/base.rb', line 3 def @new_options end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
3 4 5 |
# File 'lib/service_api/normalize_options/base.rb', line 3 def @options end |