Module: ScrumNinja
- Defined in:
- lib/scrumninja.rb,
lib/scrumninja/client.rb,
lib/scrumninja/version.rb
Defined Under Namespace
Classes: Client
Constant Summary collapse
- VERSION =
"0.1.5"
Class Method Summary collapse
-
.client(options = {}) ⇒ ScrumNinja::Client
Alias for ScrumNinja::Client.new.
- .project(api_key, project_id) ⇒ Object
- .project_backlog(api_key, project_id) ⇒ Object
- .project_burndown(api_key, project_id) ⇒ Object
- .project_card_wall(api_key, project_id) ⇒ Object
- .project_roles(api_key, project_id) ⇒ Object
- .project_sprint(api_key, project_id, sprint_id) ⇒ Object
- .project_sprint_burndown(api_key, project_id, sprint_id) ⇒ Object
- .project_sprint_card_wall(api_key, project_id, sprint_id) ⇒ Object
- .project_sprints(api_key, project_id) ⇒ Object
- .project_stories(api_key, project_id) ⇒ Object
- .project_story(api_key, project_id, story_id) ⇒ Object
- .projects(api_key) ⇒ Object
- .story_tasks(api_key, story_id) ⇒ Object
Class Method Details
.client(options = {}) ⇒ ScrumNinja::Client
Alias for ScrumNinja::Client.new
8 9 10 |
# File 'lib/scrumninja.rb', line 8 def self.client(={}) ScrumNinja::Client.new() end |
.project(api_key, project_id) ⇒ Object
16 17 18 |
# File 'lib/scrumninja.rb', line 16 def self.project(api_key,project_id) client(api_key).project project_id end |
.project_backlog(api_key, project_id) ⇒ Object
24 25 26 |
# File 'lib/scrumninja.rb', line 24 def self.project_backlog(api_key,project_id) client(api_key).project_backlog project_id end |
.project_burndown(api_key, project_id) ⇒ Object
56 57 58 |
# File 'lib/scrumninja.rb', line 56 def self.project_burndown(api_key,project_id) client(api_key).project_burndown project_id end |
.project_card_wall(api_key, project_id) ⇒ Object
32 33 34 |
# File 'lib/scrumninja.rb', line 32 def self.project_card_wall(api_key,project_id) client(api_key).project_card_wall project_id end |
.project_roles(api_key, project_id) ⇒ Object
40 41 42 |
# File 'lib/scrumninja.rb', line 40 def self.project_roles(api_key,project_id) client(api_key).project_roles project_id end |
.project_sprint(api_key, project_id, sprint_id) ⇒ Object
44 45 46 |
# File 'lib/scrumninja.rb', line 44 def self.project_sprint(api_key,project_id,sprint_id) client(api_key).project_sprint project_id, sprint_id end |
.project_sprint_burndown(api_key, project_id, sprint_id) ⇒ Object
60 61 62 |
# File 'lib/scrumninja.rb', line 60 def self.project_sprint_burndown(api_key,project_id,sprint_id) client(api_key).project_sprint_burndown project_id, sprint_id end |
.project_sprint_card_wall(api_key, project_id, sprint_id) ⇒ Object
36 37 38 |
# File 'lib/scrumninja.rb', line 36 def self.project_sprint_card_wall(api_key,project_id,sprint_id) client(api_key).project_sprint_card_wall project_id, sprint_id end |
.project_sprints(api_key, project_id) ⇒ Object
28 29 30 |
# File 'lib/scrumninja.rb', line 28 def self.project_sprints(api_key,project_id) client(api_key).project_sprints project_id end |
.project_stories(api_key, project_id) ⇒ Object
20 21 22 |
# File 'lib/scrumninja.rb', line 20 def self.project_stories(api_key,project_id) client(api_key).project_stories project_id end |
.project_story(api_key, project_id, story_id) ⇒ Object
48 49 50 |
# File 'lib/scrumninja.rb', line 48 def self.project_story(api_key,project_id,story_id) client(api_key).project_story project_id, story_id end |
.projects(api_key) ⇒ Object
12 13 14 |
# File 'lib/scrumninja.rb', line 12 def self.projects(api_key) client(api_key).projects end |
.story_tasks(api_key, story_id) ⇒ Object
52 53 54 |
# File 'lib/scrumninja.rb', line 52 def self.story_tasks(api_key,story_id) client(api_key).story_tasks story_id end |