Sha256: c6ebc3ac471b2a379dd7ffe4f82c7092299c087d5ca302d87dbb81c7191293fe
Contents?: true
Size: 180 Bytes
Versions: 1
Compression:
Stored size: 180 Bytes
Contents
class User attr_reader :name, :avatar, :email def initialize(json_hash) @name = json_hash[:name] @avatar = json_hash[:avatar] @email = json_hash[:email] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
papercall-1.0.0 | lib/papercall/models/user.rb |