Class: Purest::Alerts

Inherits:
APIMethods show all
Defined in:
lib/purest/alerts.rb

Constant Summary collapse

GET_PARAMS =
[].freeze

Instance Method Summary collapse

Methods inherited from APIMethods

#append_path

Methods inherited from Rest

access_method?, #authenticated?, #concat_url, #initialize, #logout, method_missing, #use_named_parameter

Constructor Details

This class inherits a constructor from Purest::Rest

Instance Method Details

#create(options = nil) ⇒ Object



13
14
15
# File 'lib/purest/alerts.rb', line 13

def create(options = nil)
  super(options, 'alert')
end

#delete(options = nil) ⇒ Object



21
22
23
# File 'lib/purest/alerts.rb', line 21

def delete(options = nil)
  super(options, 'alert')
end

#get(options = nil) ⇒ Object



9
10
11
# File 'lib/purest/alerts.rb', line 9

def get(options = nil)
  super(options, 'alert', GET_PARAMS)
end

#update(options = nil) ⇒ Object



17
18
19
# File 'lib/purest/alerts.rb', line 17

def update(options = nil)
  super(options, 'alert')
end