Class: ESP::Role

Inherits:
Resource show all
Defined in:
lib/esp/resources/role.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Dirty

#changed_attributes, #original_attributes, #original_attributes=

Methods included from LoadWithOriginalAttributes

#load

Class Method Details

.allActiveResource::PaginatedCollection<ESP::Region>

Return a paginated list.



# File 'lib/esp/resources/role.rb', line 32

.find(id) ⇒ ESP::Region

Find a Region by id

call-seq -> super.find(id)

Parameters:

  • id (Integer, Numeric, #to_i)

    Required ID of the region to retrieve.

Returns:



# File 'lib/esp/resources/role.rb', line 24

.wherevoid

This method returns an undefined value.

Not Implemented. You cannot search for a Role.



20
21
22
# File 'lib/esp/resources/role.rb', line 20

def self.where(*)
  fail ESP::NotImplementedError
end

Instance Method Details

#destroyvoid

This method returns an undefined value.

Not Implemented. You cannot destroy a Role.



13
14
15
# File 'lib/esp/resources/role.rb', line 13

def destroy
  fail ESP::NotImplementedError
end

#savevoid

This method returns an undefined value.

Not Implemented. You cannot create or update a Role.



6
7
8
# File 'lib/esp/resources/role.rb', line 6

def save
  fail ESP::NotImplementedError
end