class Streak::File
Public Class Methods
all(box_key)
click to toggle source
# File lib/streak/file.rb, line 3 def self.all(box_key) res = Streak.request(:get, "/boxes/#{box_key}/files") convert_to_streak_object(res, File) end
get_link(file_key)
click to toggle source
# File lib/streak/file.rb, line 8 def self.get_link(file_key) res = Streak.request(:get, "/files/#{file_key}/link") convert_to_streak_object(res, File) end