Class: Prosereflect::Attribute::Id
- Defined in:
- lib/prosereflect/attribute/id.rb
Constant Summary collapse
- PM_TYPE =
'id'
Instance Method Summary collapse
-
#to_h ⇒ Object
Convert to hash for serialization.
Methods inherited from Base
Instance Method Details
#to_h ⇒ Object
Convert to hash for serialization
19 20 21 |
# File 'lib/prosereflect/attribute/id.rb', line 19 def to_h { 'id' => id } end |