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.



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

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

Instance Attribute Details

#log_httpObject

Returns the value of attribute log_http.



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

def log_http
  @log_http
end

#log_levelObject

Returns the value of attribute log_level.



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

def log_level
  @log_level
end

#loggerObject

Returns the value of attribute logger.



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

def logger
  @logger
end

#user_agentObject

Returns the value of attribute user_agent.



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

def user_agent
  @user_agent
end