Sha256: 075354d4477b3353d501cddfe79854a762b2a6405ca0046ccd161c9d8fa301a5
Contents?: true
Size: 887 Bytes
Versions: 1
Compression:
Stored size: 887 Bytes
Contents
module Troo module Adaptors class Member < Resource def adapted { external_member_id: external_member_id, username: username, email: email, full_name: full_name, initials: initials, avatar_id: avatar_id, bio: bio, url: url } end private def external_member_id resource.id end def username resource.username end def email resource.email end def full_name resource.full_name end def initials resource.initials end def avatar_id resource.avatar_id end def bio resource.bio end def url resource.url end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
troo-0.0.8 | lib/troo/adaptors/member.rb |