Class: Apia::Controller

Inherits:
Object
  • Object
show all
Extended by:
Defineable
Defined in:
lib/apia/controller.rb

Direct Known Subclasses

Schema::Controller

Class Method Summary collapse

Methods included from Defineable

create, inspect, method_missing, name, respond_to_missing?

Class Method Details

.collate_objects(set) ⇒ void

This method returns an undefined value.

Collate all objects that this controller references and add them to the given object set

Parameters:



26
27
# File 'lib/apia/controller.rb', line 26

def collate_objects(set)
end

.definitionApia::Definitions::Controller

Return the definition object for the controller



17
18
19
# File 'lib/apia/controller.rb', line 17

def definition
  @definition ||= Definitions::Controller.new(Helpers.class_name_to_id(name))
end