Sha256: 15dfbc4bf8f7df875d83d1fab86526ce739fbe6dd166b97083765491f549da8c
Contents?: true
Size: 464 Bytes
Versions: 1
Compression:
Stored size: 464 Bytes
Contents
module Swagger class Configuration require 'swagger/version' attr_accessor :format, :api_key, :username, :password, :auth_token, :scheme, :host, :base_path, :user_agent, :logger, :inject_format # Defaults go in here.. def initialize @format = 'json' @scheme = 'http' @host = 'api.wordnik.com' @base_path = '/v4' @user_agent = "ruby-#{Swagger::VERSION}" @inject_format = true end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
subtledata-0.0.3 | lib/swagger/configuration.rb |