Class: Caelum::Buggie::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/buggie.rb

Instance Method Summary collapse

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

#projectsObject



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