Sha256: a263ba2a5cd10fd83fee667f8e74cf61f06498c29356930e9981376f65bbabb5
Contents?: true
Size: 473 Bytes
Versions: 1
Compression:
Stored size: 473 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.5 | lib/swagger/configuration.rb |