Class: TracAPI
- Inherits:
-
Object
- Object
- TracAPI
- Defined in:
- lib/trac/trac.rb
Overview
code to communicate with your backend goes hereā¦
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(trac, username, url) ⇒ TracAPI
constructor
A new instance of TracAPI.
Constructor Details
#initialize(trac, username, url) ⇒ TracAPI
Returns a new instance of TracAPI.
4 5 6 7 8 |
# File 'lib/trac/trac.rb', line 4 def initialize(trac, username, url) @@api = trac @@username = username @@url = url end |
Class Method Details
.api ⇒ Object
10 11 12 |
# File 'lib/trac/trac.rb', line 10 def self.api @@api end |
.url ⇒ Object
14 15 16 |
# File 'lib/trac/trac.rb', line 14 def self.url @@url end |
.username ⇒ Object
18 19 20 |
# File 'lib/trac/trac.rb', line 18 def self.username @@username end |