Module: Puree::Configuration
- Included in:
- Puree
- Defined in:
- lib/puree/configuration.rb
Overview
Configuration options
Instance Attribute Summary collapse
-
#base_url ⇒ Object
Returns the value of attribute base_url.
-
#basic_auth ⇒ Object
Returns the value of attribute basic_auth.
-
#password ⇒ Object
Returns the value of attribute password.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
Instance Attribute Details
#base_url ⇒ Object
Returns the value of attribute base_url.
7 8 9 |
# File 'lib/puree/configuration.rb', line 7 def base_url @base_url end |
#basic_auth ⇒ Object
Returns the value of attribute basic_auth.
7 8 9 |
# File 'lib/puree/configuration.rb', line 7 def basic_auth @basic_auth end |
#password ⇒ Object
Returns the value of attribute password.
7 8 9 |
# File 'lib/puree/configuration.rb', line 7 def password @password end |
#username ⇒ Object
Returns the value of attribute username.
7 8 9 |
# File 'lib/puree/configuration.rb', line 7 def username @username end |
Instance Method Details
#configure {|_self| ... } ⇒ Object
9 10 11 |
# File 'lib/puree/configuration.rb', line 9 def configure yield self end |