Class: Flydata::Command::Start

Inherits:
Base
  • Object
show all
Defined in:
lib/flydata/command/start.rb

Instance Attribute Summary

Attributes inherited from Base

#opts

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#ask_input_table_name, #ask_yes_no, #choose_one, #flydata, #initialize, #newline, #register_crontab, #retrieve_data_entries, #separator

Constructor Details

This class inherits a constructor from Flydata::Command::Base

Class Method Details

.slopObject



4
5
6
# File 'lib/flydata/command/start.rb', line 4

def self.slop
  Flydata::Command::Sender.slop_start # Needs options for Sender#start
end

Instance Method Details

#runObject



7
8
9
10
# File 'lib/flydata/command/start.rb', line 7

def run
  sender = Flydata::Command::Sender.new(opts)
  sender.start
end