Sha256: 1f3b0df62b95f8ecb9c438e692bc7722c5e119ab75ac0f4d55f44e85bc674c66
Contents?: true
Size: 523 Bytes
Versions: 286
Compression:
Stored size: 523 Bytes
Contents
module ForestLiana class SessionSerializer include JSONAPI::Serializer attribute :first_name attribute :last_name attribute :email def type 'users' end def format_name(attribute_name) attribute_name.to_s end def unformat_name(attribute_name) attribute_name.to_s.underscore end def self_link nil end def relationship_self_link(attribute_name) nil end def relationship_related_link(attribute_name) nil end end end
Version data entries
286 entries across 286 versions & 1 rubygems