Class: Sifter::Project
- Inherits:
-
Hashie::Dash
- Object
- Hashie::Dash
- Sifter::Project
- Defined in:
- lib/sifter/project.rb
Overview
Wrapper for a Sifter project. Fetch projects using Sifter::Account.
Instance Method Summary collapse
-
#issues ⇒ Object
Fetch all the issues on this project.
-
#milestones ⇒ Object
Fetch all the milestones for this project.
-
#people ⇒ Object
Fetch all the people linked to this project.
Instance Method Details
#issues ⇒ Object
Fetch all the issues on this project. Returns an array of Sifter::Issue objects.
19 20 21 22 23 24 |
# File 'lib/sifter/project.rb', line 19 def issues Sifter. get(api_issues_url). fetch("issues", []). map { |i| Sifter::Issue.new(i) } end |