Class: Jirify::Models::Sprint

Inherits:
Base
  • Object
show all
Defined in:
lib/jirify/models/sprint.rb

Class Method Summary collapse

Methods inherited from Base

client, #initialize, #method_missing, #respond_to_missing?

Constructor Details

This class inherits a constructor from Jirify::Models::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Jirify::Models::Base

Class Method Details

.issues_in_current_sprint(only_mine = false, max_results = 200) ⇒ Object



5
6
7
8
# File 'lib/jirify/models/sprint.rb', line 5

def issues_in_current_sprint(only_mine = false, max_results = 200)
  issues = client.Issue.jql current_sprint_jql(only_mine), max_results: max_results
  issues.map { |issue| Issue.new issue }
end