Class: Caelum::Buggie::Client
- Inherits:
-
Object
- Object
- Caelum::Buggie::Client
- Defined in:
- lib/buggie.rb
Instance Method Summary collapse
-
#initialize(auth) ⇒ Client
constructor
A new instance of Client.
- #projects ⇒ Object
Constructor Details
#initialize(auth) ⇒ Client
Returns a new instance of Client.
73 74 75 |
# File 'lib/buggie.rb', line 73 def initialize(auth) @token = auth end |
Instance Method Details
#projects ⇒ Object
76 77 78 79 80 81 |
# File 'lib/buggie.rb', line 76 def projects PivotalTracker::Project.all.inject({}) do |m, p| m[p.name] = Caelum::Buggie::Iterations.new(p, p.iterations.all) m end end |