Class: Fiddler::Configuration
- Inherits:
-
Object
- Object
- Fiddler::Configuration
- Defined in:
- lib/fiddler/configuration.rb
Overview
Based on the Clearance gem configuration - github.com/thoughtbot/clearance/blob/master/lib/clearance/configuration.rb
Instance Attribute Summary collapse
-
#cookie_domain ⇒ Object
Returns the value of attribute cookie_domain.
-
#password ⇒ Object
Returns the value of attribute password.
-
#server_url ⇒ Object
Returns the value of attribute server_url.
-
#ssl_verify ⇒ Object
Returns the value of attribute ssl_verify.
-
#use_cookies ⇒ Object
Returns the value of attribute use_cookies.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 9 |
# File 'lib/fiddler/configuration.rb', line 6 def initialize @use_cookies = false @ssl_verify = true end |
Instance Attribute Details
#cookie_domain ⇒ Object
Returns the value of attribute cookie_domain.
4 5 6 |
# File 'lib/fiddler/configuration.rb', line 4 def @cookie_domain end |
#password ⇒ Object
Returns the value of attribute password.
4 5 6 |
# File 'lib/fiddler/configuration.rb', line 4 def password @password end |
#server_url ⇒ Object
Returns the value of attribute server_url.
4 5 6 |
# File 'lib/fiddler/configuration.rb', line 4 def server_url @server_url end |
#ssl_verify ⇒ Object
Returns the value of attribute ssl_verify.
4 5 6 |
# File 'lib/fiddler/configuration.rb', line 4 def ssl_verify @ssl_verify end |
#use_cookies ⇒ Object
Returns the value of attribute use_cookies.
4 5 6 |
# File 'lib/fiddler/configuration.rb', line 4 def @use_cookies end |
#username ⇒ Object
Returns the value of attribute username.
4 5 6 |
# File 'lib/fiddler/configuration.rb', line 4 def username @username end |