Method: VMC::Client#app_files
- Defined in:
- lib/vmc/client.rb
#app_files(name, path, instance = 0) ⇒ Object
List the directory or download the actual file indicated by the path.
152 153 154 155 156 157 158 |
# File 'lib/vmc/client.rb', line 152 def app_files(name, path, instance=0) check_login_status path = path.gsub('//', '/') url = path(VMC::APPS_PATH, name, "instances", instance, "files", path) _, body, headers = http_get(url) body end |