Class: Applb::CLI::Apply

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

Instance Method Summary collapse

Constructor Details

#initialize(filepath, options) ⇒ Apply

Returns a new instance of Apply.



57
58
59
60
# File 'lib/applb/cli.rb', line 57

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

Instance Method Details

#runObject



62
63
64
65
# File 'lib/applb/cli.rb', line 62

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