Sha256: c934c21e730b9cb6971207b76ee60f95efbecfef7c5c2242154106fe7473fa2e

Contents?: true

Size: 381 Bytes

Versions: 15

Compression:

Stored size: 381 Bytes

Contents

# frozen_string_literal: true

module Tractive
  class Trac
    attr_reader :tickets, :changes, :sessions, :attachments, :wikis

    def initialize(db)
      $logger.info("loading tickets")
      @db          = db
      @tickets     = Ticket
      @changes     = TicketChange
      @sessions    = Session
      @attachments = Attachment
      @wikis       = Wiki
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
tractive-1.0.26 lib/tractive/trac.rb
tractive-1.0.25 lib/tractive/trac.rb
tractive-1.0.22 lib/tractive/trac.rb
tractive-1.0.21 lib/tractive/trac.rb
tractive-1.0.20 lib/tractive/trac.rb
tractive-1.0.19 lib/tractive/trac.rb
tractive-1.0.18 lib/tractive/trac.rb
tractive-1.0.17 lib/tractive/trac.rb
tractive-1.0.16 lib/tractive/trac.rb
tractive-1.0.15 lib/tractive/trac.rb
tractive-1.0.14 lib/tractive/trac.rb
tractive-1.0.13 lib/tractive/trac.rb
tractive-1.0.12 lib/tractive/trac.rb
tractive-1.0.11 lib/tractive/trac.rb
tractive-1.0.10 lib/tractive/trac.rb