module GoogleCells::UrlHelper
Public Instance Methods
child_uri(folder_key, child_key)
click to toggle source
# File lib/google_cells/url_helper.rb, line 21 def child_uri(folder_key, child_key) "https://www.googleapis.com/drive/v2/files/#{folder_key}/children/#{child_key}" end
copy_uri(key)
click to toggle source
# File lib/google_cells/url_helper.rb, line 9 def copy_uri(key) "https://www.googleapis.com/drive/v2/files/#{key}/copy" end
file_uri(key)
click to toggle source
# File lib/google_cells/url_helper.rb, line 25 def file_uri(key) "https://www.googleapis.com/drive/v2/files/#{key}" end
folder_uri(key)
click to toggle source
# File lib/google_cells/url_helper.rb, line 17 def folder_uri(key) "https://www.googleapis.com/drive/v2/files/#{key}/children" end
permissions_uri(key)
click to toggle source
# File lib/google_cells/url_helper.rb, line 13 def permissions_uri(key) "https://www.googleapis.com/drive/v2/files/#{key}/permissions" end
revisions_uri(key)
click to toggle source
# File lib/google_cells/url_helper.rb, line 37 def revisions_uri(key) "https://www.googleapis.com/drive/v2/files/#{key}/revisions" end
unwatch_uri()
click to toggle source
# File lib/google_cells/url_helper.rb, line 33 def unwatch_uri "https://www.googleapis.com/drive/v2/channels/stop" end
watch_uri(key)
click to toggle source
# File lib/google_cells/url_helper.rb, line 29 def watch_uri(key) "https://www.googleapis.com/drive/v2/files/#{key}/watch" end
worksheets_uri(key)
click to toggle source
# File lib/google_cells/url_helper.rb, line 5 def worksheets_uri(key) "https://spreadsheets.google.com/feeds/worksheets/#{key}/private/full" end