forked from loafle/openapi-generator-original
20 lines
420 B
Ruby
20 lines
420 B
Ruby
module Swagger
|
|
|
|
class Configuration
|
|
require 'swagger/version'
|
|
|
|
attr_accessor :format, :api_key, :username, :password, :auth_token, :scheme, :host, :base_path, :user_agent, :logger
|
|
|
|
# Defaults go in here..
|
|
def initialize
|
|
@format = 'json'
|
|
@scheme = 'http'
|
|
@host = 'api.wordnik.com'
|
|
@base_path = '/v4'
|
|
@user_agent = "ruby-#{Swagger::VERSION}"
|
|
end
|
|
|
|
end
|
|
|
|
end
|