Sha256: d7b71ee078a379a1907ef4b663e7118397ef83ae04da3bb40def4d4b88c947b1

Contents?: true

Size: 527 Bytes

Versions: 8

Compression:

Stored size: 527 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

8 entries across 8 versions & 1 rubygems

Version Path
soaspec-0.2.8 lib/soaspec/exchange_handlers/rest_parameters_defaults.rb
soaspec-0.2.7 lib/soaspec/exchange_handlers/rest_parameters_defaults.rb
soaspec-0.2.5 lib/soaspec/exchange_handlers/rest_parameters_defaults.rb
soaspec-0.2.4 lib/soaspec/exchange_handlers/rest_parameters_defaults.rb
soaspec-0.2.3 lib/soaspec/exchange_handlers/rest_parameters_defaults.rb
soaspec-0.2.2 lib/soaspec/exchange_handlers/rest_parameters_defaults.rb
soaspec-0.2.1 lib/soaspec/exchange_handlers/rest_parameters_defaults.rb
soaspec-0.2.0 lib/soaspec/exchange_handlers/rest_parameters_defaults.rb