Class: PortalModule::Command::Dts

Inherits:
Thor
  • Object
show all
Includes:
ClientAccess
Defined in:
lib/portal_module/command/dts.rb

Instance Method Summary collapse

Instance Method Details

#download(org, filepath) ⇒ Object



61
62
63
64
65
66
67
# File 'lib/portal_module/command/dts.rb', line 61

def download org, filepath
  cl = client.dts
  cl.download org, filepath

ensure
  client.logout
end

#upload(org, filepath) ⇒ Object



34
35
36
37
38
39
40
# File 'lib/portal_module/command/dts.rb', line 34

def upload org, filepath
  cl = client.dts
  cl.upload org, filepath

ensure
  client.logout
end