Sha256: b645b5eb771fa9747b96cfc18077a21ec90a1f82d14ed028b5bd279250b5f97f

Contents?: true

Size: 326 Bytes

Versions: 3

Compression:

Stored size: 326 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
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
troo-0.0.4 lib/troo/models/member.rb
troo-0.0.3 lib/troo/models/member.rb
troo-0.0.2 lib/troo/models/member.rb