Class: Consumerable::Configuration
- Inherits:
-
Object
- Object
- Consumerable::Configuration
- Defined in:
- lib/consumerable/configuration.rb
Instance Attribute Summary collapse
-
#accept_header ⇒ Object
Returns the value of attribute accept_header.
-
#api_version ⇒ Object
Returns the value of attribute api_version.
-
#basic_auth_password ⇒ Object
Returns the value of attribute basic_auth_password.
-
#basic_auth_username ⇒ Object
Returns the value of attribute basic_auth_username.
-
#content_type ⇒ Object
Returns the value of attribute content_type.
-
#endpoint ⇒ Object
Returns the value of attribute endpoint.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#perform_logging ⇒ Object
Returns the value of attribute perform_logging.
Instance Method Summary collapse
Instance Attribute Details
#accept_header ⇒ Object
Returns the value of attribute accept_header.
3 4 5 |
# File 'lib/consumerable/configuration.rb', line 3 def accept_header @accept_header end |
#api_version ⇒ Object
Returns the value of attribute api_version.
3 4 5 |
# File 'lib/consumerable/configuration.rb', line 3 def api_version @api_version end |
#basic_auth_password ⇒ Object
Returns the value of attribute basic_auth_password.
3 4 5 |
# File 'lib/consumerable/configuration.rb', line 3 def basic_auth_password @basic_auth_password end |
#basic_auth_username ⇒ Object
Returns the value of attribute basic_auth_username.
3 4 5 |
# File 'lib/consumerable/configuration.rb', line 3 def basic_auth_username @basic_auth_username end |
#content_type ⇒ Object
Returns the value of attribute content_type.
3 4 5 |
# File 'lib/consumerable/configuration.rb', line 3 def content_type @content_type end |
#endpoint ⇒ Object
Returns the value of attribute endpoint.
3 4 5 |
# File 'lib/consumerable/configuration.rb', line 3 def endpoint @endpoint end |
#logger ⇒ Object
Returns the value of attribute logger.
3 4 5 |
# File 'lib/consumerable/configuration.rb', line 3 def logger @logger end |
#perform_logging ⇒ Object
Returns the value of attribute perform_logging.
3 4 5 |
# File 'lib/consumerable/configuration.rb', line 3 def perform_logging @perform_logging end |
Instance Method Details
#perform_logging? ⇒ Boolean
11 12 13 |
# File 'lib/consumerable/configuration.rb', line 11 def perform_logging? !!perform_logging end |