Module: Soaspec::RestParametersDefaults
- Included in:
- RestHandler
- Defined in:
- lib/soaspec/exchange_handlers/rest_parameters_defaults.rb
Overview
Defaults for Soaspec RestParameters methods
Instance Method Summary collapse
-
#base_url_value ⇒ Object
Set through following method.
-
#pascal_keys? ⇒ Boolean
Whether to convert each key in the request to PascalCase It will also auto convert simple XPath, JSONPath where ‘//’ or ‘..’ not specified.
-
#rest_client_headers ⇒ Object
Headers used in RestClient.
Instance Method Details
#base_url_value ⇒ Object
Set through following method. Base URL in REST requests.
5 6 7 |
# File 'lib/soaspec/exchange_handlers/rest_parameters_defaults.rb', line 5 def base_url_value nil end |
#pascal_keys? ⇒ Boolean
Whether to convert each key in the request to PascalCase It will also auto convert simple XPath, JSONPath where ‘//’ or ‘..’ not specified
17 18 19 |
# File 'lib/soaspec/exchange_handlers/rest_parameters_defaults.rb', line 17 def pascal_keys? false end |
#rest_client_headers ⇒ Object
Headers used in RestClient
10 11 12 |
# File 'lib/soaspec/exchange_handlers/rest_parameters_defaults.rb', line 10 def rest_client_headers {} end |