Class: Announce::Adapters::TestAdapter::BrokerManager

Inherits:
BaseAdapter::BrokerManager show all
Defined in:
lib/announce/adapters/test_adapter.rb

Constant Summary collapse

@@configured =
false

Instance Attribute Summary

Attributes inherited from BaseAdapter::BrokerManager

#options

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from BaseAdapter::BrokerManager

#initialize

Constructor Details

This class inherits a constructor from Announce::Adapters::BaseAdapter::BrokerManager

Class Method Details

.configured?Boolean

Returns:

  • (Boolean)


28
29
30
# File 'lib/announce/adapters/test_adapter.rb', line 28

def self.configured?
  @@configured
end

.resetObject



24
25
26
# File 'lib/announce/adapters/test_adapter.rb', line 24

def self.reset
  @@configured = false
end

Instance Method Details

#configureObject



32
33
34
# File 'lib/announce/adapters/test_adapter.rb', line 32

def configure
  @@configured = true
end