Class: Simnos::CLI::Export
- Inherits:
-
Object
- Object
- Simnos::CLI::Export
- Defined in:
- lib/simnos/cli.rb
Instance Method Summary collapse
-
#initialize(filepath, options) ⇒ Export
constructor
A new instance of Export.
- #run ⇒ Object
Constructor Details
#initialize(filepath, options) ⇒ Export
Returns a new instance of Export.
69 70 71 72 |
# File 'lib/simnos/cli.rb', line 69 def initialize(filepath, ) @filepath = filepath = end |
Instance Method Details
#run ⇒ Object
74 75 76 77 |
# File 'lib/simnos/cli.rb', line 74 def run require 'simnos/client' result = Client.new(@filepath, ).export end |