Sha256: d7f8a07c2d7a13901d473e9314fe8f31db3ec9fae0ea5c057db1278040ef86e8

Contents?: true

Size: 528 Bytes

Versions: 15

Compression:

Stored size: 528 Bytes

Contents

module Soaspec
  # Defaults for Soaspec RestParameters methods
  module RestParametersDefaults
    # Set through following method. Base URL in REST requests.
    def base_url_value
      nil
    end

    # Headers used in RestClient
    def rest_client_headers
      {}
    end

    # Whether to convert each key in the request to PascalCase
    # It will also auto convert simple XPath, JSONPath where '//' or '..' not specified
    # @return Whether to convert to PascalCase
    def pascal_keys?
      false
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
soaspec-0.2.23 lib/soaspec/exchange_handlers/rest_parameters_defaults.rb
soaspec-0.2.22 lib/soaspec/exchange_handlers/rest_parameters_defaults.rb
soaspec-0.2.21 lib/soaspec/exchange_handlers/rest_parameters_defaults.rb
soaspec-0.2.20 lib/soaspec/exchange_handlers/rest_parameters_defaults.rb
soaspec-0.2.19 lib/soaspec/exchange_handlers/rest_parameters_defaults.rb
soaspec-0.2.18 lib/soaspec/exchange_handlers/rest_parameters_defaults.rb
soaspec-0.2.17 lib/soaspec/exchange_handlers/rest_parameters_defaults.rb
soaspec-0.2.16 lib/soaspec/exchange_handlers/rest_parameters_defaults.rb
soaspec-0.2.15 lib/soaspec/exchange_handlers/rest_parameters_defaults.rb
soaspec-0.2.14 lib/soaspec/exchange_handlers/rest_parameters_defaults.rb
soaspec-0.2.13 lib/soaspec/exchange_handlers/rest_parameters_defaults.rb
soaspec-0.2.12 lib/soaspec/exchange_handlers/rest_parameters_defaults.rb
soaspec-0.2.11 lib/soaspec/exchange_handlers/rest_parameters_defaults.rb
soaspec-0.2.10 lib/soaspec/exchange_handlers/rest_parameters_defaults.rb
soaspec-0.2.9 lib/soaspec/exchange_handlers/rest_parameters_defaults.rb