Class: Camille::Configuration
- Inherits:
-
Object
- Object
- Camille::Configuration
- Defined in:
- lib/camille/configuration.rb
Class Attribute Summary collapse
-
.params_key_converter ⇒ Object
Returns the value of attribute params_key_converter.
-
.response_key_converter ⇒ Object
Returns the value of attribute response_key_converter.
-
.ts_header ⇒ Object
Returns the value of attribute ts_header.
-
.ts_location ⇒ Object
Returns the value of attribute ts_location.
Class Method Summary collapse
Class Attribute Details
.params_key_converter ⇒ Object
Returns the value of attribute params_key_converter.
5 6 7 |
# File 'lib/camille/configuration.rb', line 5 def params_key_converter @params_key_converter end |
.response_key_converter ⇒ Object
Returns the value of attribute response_key_converter.
5 6 7 |
# File 'lib/camille/configuration.rb', line 5 def response_key_converter @response_key_converter end |
.ts_header ⇒ Object
Returns the value of attribute ts_header.
6 7 8 |
# File 'lib/camille/configuration.rb', line 6 def ts_header @ts_header end |
.ts_location ⇒ Object
Returns the value of attribute ts_location.
6 7 8 |
# File 'lib/camille/configuration.rb', line 6 def ts_location @ts_location end |
Class Method Details
.load_default_configurations ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/camille/configuration.rb', line 8 def load_default_configurations self.response_key_converter = lambda do |string| string.camelize(:lower) end self.params_key_converter = lambda do |string| string.underscore end end |