Class: Applb::CLI::Export

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

Instance Method Summary collapse

Constructor Details

#initialize(filepath, options) ⇒ Export

Returns a new instance of Export.



69
70
71
72
# File 'lib/applb/cli.rb', line 69

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

Instance Method Details

#runObject



74
75
76
77
# File 'lib/applb/cli.rb', line 74

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