Class: TrackerCmd::Tracker
- Inherits:
-
Object
- Object
- TrackerCmd::Tracker
- Includes:
- HTTParty
- Defined in:
- lib/tracker_cmd.rb
Class Method Summary collapse
Class Method Details
.mywork(project_id, initials) ⇒ Object
23 24 25 |
# File 'lib/tracker_cmd.rb', line 23 def self.mywork(project_id, initials) get("/projects/#{project_id}/stories", :query => {:filter => "mywork:#{initials}"})['stories'] end |
.projects ⇒ Object
15 16 17 |
# File 'lib/tracker_cmd.rb', line 15 def self.projects @projects = get('/projects')['projects'] end |
.stories(project_id) ⇒ Object
19 20 21 |
# File 'lib/tracker_cmd.rb', line 19 def self.stories(project_id) get("/projects/#{project_id}/stories")['stories'] end |