Class: Consumerable::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/consumerable/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#accept_headerObject

Returns the value of attribute accept_header.



3
4
5
# File 'lib/consumerable/configuration.rb', line 3

def accept_header
  @accept_header
end

#api_versionObject

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_passwordObject

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_usernameObject

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_typeObject

Returns the value of attribute content_type.



3
4
5
# File 'lib/consumerable/configuration.rb', line 3

def content_type
  @content_type
end

#endpointObject

Returns the value of attribute endpoint.



3
4
5
# File 'lib/consumerable/configuration.rb', line 3

def endpoint
  @endpoint
end

#loggerObject

Returns the value of attribute logger.



3
4
5
# File 'lib/consumerable/configuration.rb', line 3

def logger
  @logger
end

#perform_loggingObject

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

Returns:

  • (Boolean)


11
12
13
# File 'lib/consumerable/configuration.rb', line 11

def perform_logging?
  !!perform_logging
end