Class: Yade::Domain::Rest::Model::Role
- Inherits:
-
Object
- Object
- Yade::Domain::Rest::Model::Role
- Includes:
- ActiveModel::Model, ActiveModel::Serializers::JSON, ActiveModel::Validations
- Defined in:
- lib/yade/domain/rest/model/role.rb
Overview
Role
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
15 16 17 |
# File 'lib/yade/domain/rest/model/role.rb', line 15 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
15 16 17 |
# File 'lib/yade/domain/rest/model/role.rb', line 15 def name @name end |
Instance Method Details
#attributes ⇒ Object
19 20 21 |
# File 'lib/yade/domain/rest/model/role.rb', line 19 def attributes instance_values end |