class DwollaSwagger::Swagger::Configuration

Attributes

access_token[RW]
api_key[RW]
api_key_prefix[RW]
base_path[RW]
camelize_params[RW]
force_ending_format[RW]
format[RW]
host[RW]
inject_format[RW]
logger[RW]
password[RW]
scheme[RW]
user_agent[RW]
username[RW]
verify_ssl[RW]

Public Class Methods

new() click to toggle source

Defaults go in here..

# File lib/dwolla_swagger/swagger/configuration.rb, line 7
def initialize
  @format = 'json'
  @scheme = 'https'
  @host = ''
  @base_path = '/'
  @user_agent = "ruby-swagger-#{Swagger::VERSION}"
  @inject_format = false
  @force_ending_format = false
  @camelize_params = true

  # keys for API key authentication (param-name => api-key)
  @api_key = {}
  # api-key prefix for API key authentication, e.g. "Bearer" (param-name => api-key-prefix)
  @api_key_prefix = {}

  # whether to verify SSL certificate, default to true
  # Note: do NOT set it to false in production code, otherwise you would
  #   face multiple types of cryptographic attacks
  @verify_ssl = true
end