Class: NameDrop::Resources::Mention
- Inherits:
-
Base
- Object
- Base
- NameDrop::Resources::Mention
show all
- Defined in:
- lib/name_drop/resources/mention.rb
Instance Attribute Summary
Attributes inherited from Base
#attributes, #errors
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Base
all, build, #initialize, response_key
Class Method Details
.endpoint(params = {}) ⇒ Object
16
17
18
|
# File 'lib/name_drop/resources/mention.rb', line 16
def self.endpoint(params = {})
"alerts/#{params[:alert_id]}/mentions"
end
|
.find(_id) ⇒ Object
4
5
6
|
# File 'lib/name_drop/resources/mention.rb', line 4
def self.find(_id)
raise NotImplementedError, 'Single fetch mention not supported'
end
|
Instance Method Details
#destroy ⇒ Object
12
13
14
|
# File 'lib/name_drop/resources/mention.rb', line 12
def destroy
raise NotImplementedError, 'You cannot alter a mention'
end
|
#save ⇒ Object
8
9
10
|
# File 'lib/name_drop/resources/mention.rb', line 8
def save
raise NotImplementedError, 'You cannot alter a mention'
end
|