Class: Simnos::CLI::Apply

Inherits:
Object
  • Object
show all
Defined in:
lib/simnos/cli.rb

Instance Method Summary collapse

Constructor Details

#initialize(filepath, options) ⇒ Apply

Returns a new instance of Apply.



60
61
62
63
# File 'lib/simnos/cli.rb', line 60

def initialize(filepath, options)
  @filepath = filepath
  @options = options
end

Instance Method Details

#runObject



65
66
67
68
# File 'lib/simnos/cli.rb', line 65

def run
  require 'simnos/client'
  result = Client.new(@filepath, @options).apply
end