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.



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

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

Instance Attribute Details

#audit_withObject

Returns the value of attribute audit_with.



22
23
24
# File 'lib/pupper.rb', line 22

def audit_with
  @audit_with
end

#user_agentObject

Returns the value of attribute user_agent.



22
23
24
# File 'lib/pupper.rb', line 22

def user_agent
  @user_agent
end