Sha256: 92f484d6840c0c68a1febdfba638aaa9e7049e4e8599ea79e404811451949ea5
Contents?: true
Size: 467 Bytes
Versions: 3
Compression:
Stored size: 467 Bytes
Contents
module Troo class Member < Ohm::Model include Ohm::DataTypes include ModelHelpers attribute :username attribute :email attribute :full_name attribute :initials attribute :avatar_id attribute :bio attribute :url attribute :external_member_id index :external_member_id def decorator(options = {}) MemberDecorator.new(self, options) end def presenter MemberPresenter.new(self) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
troo-0.0.7 | lib/troo/models/member.rb |
troo-0.0.6 | lib/troo/models/member.rb |
troo-0.0.5 | lib/troo/models/member.rb |