Sha256: 41c88610818a85d7d324a3af095719d489b767226d5a220c112244a85eebd94e

Contents?: true

Size: 217 Bytes

Versions: 6

Compression:

Stored size: 217 Bytes

Contents

module Tito
  class Account < Base
    property :name, type: :string
    property :description, type: :string
    property :slug, type: :string

    def events
      Tito::Event.where(account_id: id)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tito-0.1.11 lib/tito/account.rb
tito-0.1.10 lib/tito/account.rb
tito-0.1.9 lib/tito/account.rb
tito-0.1.8 lib/tito/account.rb
tito-0.1.7 lib/tito/account.rb
tito-0.1.6 lib/tito/account.rb