Class: Safire::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/safire.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



50
51
52
53
# File 'lib/safire.rb', line 50

def initialize
  @user_agent = "Safire v#{Safire::VERSION}"
  @log_http   = true
end

Instance Attribute Details

#log_httpObject

Returns the value of attribute log_http.



48
49
50
# File 'lib/safire.rb', line 48

def log_http
  @log_http
end

#log_levelObject

Returns the value of attribute log_level.



48
49
50
# File 'lib/safire.rb', line 48

def log_level
  @log_level
end

#loggerObject

Returns the value of attribute logger.



48
49
50
# File 'lib/safire.rb', line 48

def logger
  @logger
end

#user_agentObject

Returns the value of attribute user_agent.



48
49
50
# File 'lib/safire.rb', line 48

def user_agent
  @user_agent
end