Class: Lhj::Command::Pgyer

Inherits:
Lhj::Command show all
Defined in:
lib/lhj/command/pgyer_upload.rb

Instance Method Summary collapse

Methods inherited from Lhj::Command

#auto_spin, #begin_title, #initialize, #run, #stop

Constructor Details

This class inherits a constructor from Lhj::Command

Instance Method Details

#handleObject



11
12
13
14
15
16
17
# File 'lib/lhj/command/pgyer_upload.rb', line 11

def handle
  client = Lhj::Pgyer.new
  file = File.expand_path('/Users/lihaijian/**/*.ipa')
  client.upload_file(file, 'test....')
  output = client.render_template
  puts output.blue
end