Sha256: 943115b34a6517a728f4922facafa8e08831674924542a27ecfb430b25a00cbd
Contents?: true
Size: 186 Bytes
Versions: 11
Compression:
Stored size: 186 Bytes
Contents
class User include Dry::Equalizer(:id, :name, :email) attr_reader :id, :name, :email def initialize(attrs) @id, @name, @email = attrs.values_at(:id, :name, :email) end end
Version data entries
11 entries across 11 versions & 1 rubygems