class Corpshort::Backends::Base
Public Class Methods
new()
click to toggle source
# File lib/corpshort/backends/base.rb, line 6 def initialize() end
Public Instance Methods
delete_link(link_or_name)
click to toggle source
# File lib/corpshort/backends/base.rb, line 17 def delete_link(link_or_name) raise NotImplementedError end
get_link(name)
click to toggle source
# File lib/corpshort/backends/base.rb, line 13 def get_link(name) raise NotImplementedError end
list_links(token: nil, limit: 30)
click to toggle source
# File lib/corpshort/backends/base.rb, line 29 def list_links(token: nil, limit: 30) raise NotImplementedError end
list_links_by_url(url)
click to toggle source
# File lib/corpshort/backends/base.rb, line 25 def list_links_by_url(url) raise NotImplementedError end
put_link(link, create_only: false)
click to toggle source
# File lib/corpshort/backends/base.rb, line 9 def put_link(link, create_only: false) raise NotImplementedError end
rename_link(link, new_name)
click to toggle source
# File lib/corpshort/backends/base.rb, line 21 def rename_link(link, new_name) raise NotImplementedError end