Class: AlertSpec

Inherits:
RightResource::Base show all
Defined in:
lib/right_resource/alert_spec.rb

Instance Attribute Summary

Attributes inherited from RightResource::Base

#attributes, #id

Class Method Summary collapse

Methods inherited from RightResource::Base

collection_path, connection, connection=, create, #destory, destory, element_path, format, format=, generate_attributes, headers, index, #initialize, #load_accessor, #loads, logger, logger=, #new?, resource_id, resource_name, #save, show, status, update, #update_attributes

Constructor Details

This class inherits a constructor from RightResource::Base

Class Method Details

.alert_specs_subject(id, params = {}) ⇒ Object



3
4
5
# File 'lib/right_resource/alert_spec.rb', line 3

def alert_specs_subject(id, params={})
  connection.post(element_path(id, :alert_specs_subject, params))
end