Class: Ticket::Replicator::Setup
- Inherits:
-
Object
- Object
- Ticket::Replicator::Setup
- Defined in:
- lib/ticket/replicator/setup.rb
Constant Summary collapse
- SetupError =
Class.new(StandardError)
Instance Attribute Summary collapse
-
#replicator ⇒ Object
readonly
Returns the value of attribute replicator.
Instance Method Summary collapse
-
#initialize(replicator) ⇒ Setup
constructor
A new instance of Setup.
- #run ⇒ Object
Constructor Details
#initialize(replicator) ⇒ Setup
Returns a new instance of Setup.
10 11 12 |
# File 'lib/ticket/replicator/setup.rb', line 10 def initialize(replicator) @replicator = replicator end |
Instance Attribute Details
#replicator ⇒ Object (readonly)
Returns the value of attribute replicator.
8 9 10 |
# File 'lib/ticket/replicator/setup.rb', line 8 def replicator @replicator end |
Instance Method Details
#run ⇒ Object
14 15 16 17 |
# File 'lib/ticket/replicator/setup.rb', line 14 def run create_queue create_initial_configuration end |