Class: CommonParameter

Inherits:
Parameter
  • Object
show all
Defined in:
app/models/common_parameter.rb

Constant Summary

Constants inherited from Parameter

Parameter::PRIORITY

Instance Attribute Summary

Attributes inherited from Parameter

#nested

Instance Method Summary collapse

Methods inherited from Parameter

reassign_priorities

Methods included from Authorization

#enforce_create_permissions, #enforce_destroy_permissions, #enforce_edit_permissions, #enforce_permissions, included, #permission_failed?

Instance Method Details

#as_json(options = {}) ⇒ Object


8
9
10
11
# File 'app/models/common_parameter.rb', line 8

def as_json(options={})
  options ||= {}
  super({:only => [:name, :value, :id]}.merge(options))
end