class NameDrop::Resources::Share
Public Class Methods
endpoint(params = {})
click to toggle source
# File lib/name_drop/resources/share.rb, line 12 def self.endpoint(params = {}) "alerts/#{params[:alert_id]}/shares" end
find(_id)
click to toggle source
# File lib/name_drop/resources/share.rb, line 4 def self.find(_id) raise NotImplementedError, 'Single fetch share not supported' end
Public Instance Methods
endpoint(params = {})
click to toggle source
# File lib/name_drop/resources/share.rb, line 16 def endpoint(params = {}) self.class.endpoint(params) end
save()
click to toggle source
# File lib/name_drop/resources/share.rb, line 8 def save raise NotImplementedError, 'Single fetch update not supported' end