Class: Pupper::Config

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



30
31
32
33
34
35
# File 'lib/pupper.rb', line 30

def initialize
  @audit_with = :audit_log
  @user_agent = "pupper (v: #{Pupper::VERSION})"
  @ssl = {}
  @logging = false
end

Instance Attribute Details

#audit_withObject

Returns the value of attribute audit_with.



27
28
29
# File 'lib/pupper.rb', line 27

def audit_with
  @audit_with
end

#loggingObject

Returns the value of attribute logging.



27
28
29
# File 'lib/pupper.rb', line 27

def logging
  @logging
end

#sslObject

Returns the value of attribute ssl.



27
28
29
# File 'lib/pupper.rb', line 27

def ssl
  @ssl
end

#user_agentObject

Returns the value of attribute user_agent.



27
28
29
# File 'lib/pupper.rb', line 27

def user_agent
  @user_agent
end

Instance Method Details

#logging?Boolean

Returns:

  • (Boolean)


37
38
39
# File 'lib/pupper.rb', line 37

def logging?
  @logging
end