Sha256: 49384e1800f4511d1bc7a43c7fe4a91d0feafec46d60c8fefca33eecfa1caf37
Contents?: true
Size: 187 Bytes
Versions: 1
Compression:
Stored size: 187 Bytes
Contents
# frozen_string_literal: true class UserSerializer < SimpleSerializer attribute :id, :integer attribute :name, :string attribute :email, :string def name "foibar" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
basic_serializer-0.1.0 | lib/user_serializer.rb |