class UnFichierApi::Remote
Public Class Methods
info(id: nil)
click to toggle source
# File lib/un_fichier_api/remote.rb, line 7 def info(id: nil) body = body_from_parameters parameters: method(__method__).parameters, method_binding: binding call path: action_route('info'), body: body end
list()
click to toggle source
# File lib/un_fichier_api/remote.rb, line 12 def list call path: action_route('ls') end
request(urls: [], folder_id: nil, headers: {})
click to toggle source
# File lib/un_fichier_api/remote.rb, line 16 def request(urls: [], folder_id: nil, headers: {}) body = body_from_parameters parameters: method(__method__).parameters, method_binding: binding call path: action_route('request'), body: body end