Sha256: 8374883d7b4902b84986e0377651d66ead1bbd4a0fdd5b24707d4400444d7324

Contents?: true

Size: 420 Bytes

Versions: 1

Compression:

Stored size: 420 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
    
    # 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
subtledata-0.0.2 lib/swagger/configuration.rb