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
-
#attachments_path ⇒ Object
Returns the value of attribute attachments_path.
-
#cookie_domain ⇒ Object
Returns the value of attribute cookie_domain.
-
#cookie_value ⇒ Object
Returns the value of attribute cookie_value.
-
#debug_response ⇒ Object
Returns the value of attribute debug_response.
-
#password ⇒ Object
Returns the value of attribute password.
-
#request_tracker_key ⇒ Object
Returns the value of attribute request_tracker_key.
-
#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 10 11 12 13 14 |
# File 'lib/fiddler/configuration.rb', line 6 def initialize @use_cookies = false @ssl_verify = true @attachments_path = "attachments" @cookie_value = nil @cookie_domain = nil @request_tracker_key = "loginCookieValue" @debug_response = false end |
Instance Attribute Details
#attachments_path ⇒ Object
Returns the value of attribute attachments_path.
4 5 6 |
# File 'lib/fiddler/configuration.rb', line 4 def @attachments_path end |
#cookie_domain ⇒ Object
Returns the value of attribute cookie_domain.
4 5 6 |
# File 'lib/fiddler/configuration.rb', line 4 def @cookie_domain end |
#cookie_value ⇒ Object
Returns the value of attribute cookie_value.
4 5 6 |
# File 'lib/fiddler/configuration.rb', line 4 def @cookie_value end |
#debug_response ⇒ Object
Returns the value of attribute debug_response.
4 5 6 |
# File 'lib/fiddler/configuration.rb', line 4 def debug_response @debug_response end |
#password ⇒ Object
Returns the value of attribute password.
4 5 6 |
# File 'lib/fiddler/configuration.rb', line 4 def password @password end |
#request_tracker_key ⇒ Object
Returns the value of attribute request_tracker_key.
4 5 6 |
# File 'lib/fiddler/configuration.rb', line 4 def request_tracker_key @request_tracker_key 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 |