Class: Pupper::Config
- Inherits:
-
Object
- Object
- Pupper::Config
- Defined in:
- lib/pupper.rb
Instance Attribute Summary collapse
-
#audit_with ⇒ Object
Returns the value of attribute audit_with.
-
#logging ⇒ Object
Returns the value of attribute logging.
-
#ssl ⇒ Object
Returns the value of attribute ssl.
-
#user_agent ⇒ Object
Returns the value of attribute user_agent.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
- #logging? ⇒ Boolean
Constructor Details
#initialize ⇒ Config
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_with ⇒ Object
Returns the value of attribute audit_with.
27 28 29 |
# File 'lib/pupper.rb', line 27 def audit_with @audit_with end |
#logging ⇒ Object
Returns the value of attribute logging.
27 28 29 |
# File 'lib/pupper.rb', line 27 def logging @logging end |
#ssl ⇒ Object
Returns the value of attribute ssl.
27 28 29 |
# File 'lib/pupper.rb', line 27 def ssl @ssl end |
#user_agent ⇒ Object
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
37 38 39 |
# File 'lib/pupper.rb', line 37 def logging? @logging end |