module Twigg::Pivotal::Status

This module provides an overview summary of Pivotal Tracker status.

This is the main entry point for external callers, such as the `twigg` command-line app and the Twigg web app.

Public Class Methods

status() click to toggle source
# File lib/twigg-pivotal/pivotal/status.rb, line 9
def status
  projects = Project.projects
  stories  = projects.flat_map(&:stories)
  stories.group_by(&:current_state)
end