All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ruby.swagger.configuration.mustache Maven / Gradle / Ivy

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy