Class: Raven::Keyword
- Inherits:
-
Object
- Object
- Raven::Keyword
- Defined in:
- lib/rb_raven_api/keyword.rb
Class Method Summary collapse
-
.add(domain, keyword, cstm = {}) ⇒ Object
This request will add keyword to the domain provided.
-
.remove(domain, keyword, cstm = {}) ⇒ Object
This request will remove a keyword from the domain provided.
Class Method Details
.add(domain, keyword, cstm = {}) ⇒ Object
This request will add keyword to the domain provided.
12 13 14 |
# File 'lib/rb_raven_api/keyword.rb', line 12 def self.add domain, keyword, cstm = {} Raven.http.get '', { method: 'add_keyword', domain: domain, keyword: keyword }.merge(cstm) end |
.remove(domain, keyword, cstm = {}) ⇒ Object
This request will remove a keyword from the domain provided.
23 24 25 |
# File 'lib/rb_raven_api/keyword.rb', line 23 def self.remove domain, keyword, cstm = {} Raven.http.get '', { method: 'remove_keyword', domain: domain, keyword: keyword }.merge(cstm) end |