Class: GithubStats::Reports::CycleTimeReport

Inherits:
Object
  • Object
show all
Includes:
Report
Defined in:
lib/github_stats/cycle_time_report.rb

Overview

Provides issue cycle time from started at to done

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Report

#initialize

Instance Attribute Details

#optionsObject

Returns the value of attribute options.



7
8
9
# File 'lib/github_stats/cycle_time_report.rb', line 7

def options
  @options
end

#search_stringObject

Returns the value of attribute search_string.



7
8
9
# File 'lib/github_stats/cycle_time_report.rb', line 7

def search_string
  @search_string
end

Instance Method Details

#resultsObject



10
11
12
# File 'lib/github_stats/cycle_time_report.rb', line 10

def results
  Results.new(with_cycle_time(issues), keys: [:week_closed, :created_at, :started_at, :closed_at, :cycle_time, :url])
end