Sha256: 38ed9143afbe62ec233fd0471bc7bd1d274edb555a81dcbded62b80c3d134485

Contents?: true

Size: 176 Bytes

Versions: 2

Compression:

Stored size: 176 Bytes

Contents

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tito-0.1.4 lib/tito/account.rb
tito-0.1.3 lib/tito/account.rb