Sha256: 0fe769bd0f2cdee1730d19c256971d9fab074c126c80864147060bce2157afe0

Contents?: true

Size: 524 Bytes

Versions: 6

Compression:

Stored size: 524 Bytes

Contents

module Soaspec
  # Defaults for Soaspec RestAccessors method
  module RestAccessorsDefaults
    # 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

6 entries across 6 versions & 1 rubygems

Version Path
soaspec-0.1.18 lib/soaspec/exchange_handlers/rest_accessors_defaults.rb
soaspec-0.1.17 lib/soaspec/exchange_handlers/rest_accessors_defaults.rb
soaspec-0.1.16 lib/soaspec/exchange_handlers/rest_accessors_defaults.rb
soaspec-0.1.15 lib/soaspec/exchange_handlers/rest_accessors_defaults.rb
soaspec-0.1.14 lib/soaspec/exchange_handlers/rest_accessors_defaults.rb
soaspec-0.1.13 lib/soaspec/exchange_handlers/rest_accessors_defaults.rb