Class: AceMQ::Rails::Health::Check Private

Inherits:
Struct
  • Object
show all
Defined in:
lib/acemq/rails/health.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#connection ⇒ Object

Returns the value of attribute connection

Returns:

  • (Object) —

    the current value of connection



88
89
90
# File 'lib/acemq/rails/health.rb', line 88

def connection
  @connection
end

#name ⇒ Object

Returns the value of attribute name

Returns:

  • (Object) —

    the current value of name



88
89
90
# File 'lib/acemq/rails/health.rb', line 88

def name
  @name
end

Instance Method Details

#check ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



89
# File 'lib/acemq/rails/health.rb', line 89

def check = Health.of(connection || AceMQ::Rails.connection)