Sha256: 31d10cdde6eb473321096563d6beedd82c6df3a38af8c93577fa5da90e78bc07
Contents?: true
Size: 480 Bytes
Versions: 10
Compression:
Stored size: 480 Bytes
Contents
module Clubhouse class Milestone < ClubhouseResource def self.properties [ :categories, :completed, :completed_at, :completed_at_override, :created_at, :description, :entity_type, :id, :name, :position, :started, :started_at, :started_at_override, :state, :updated_at ] end def self.api_url 'milestones' end def epics @client.epics.select { |e| e.milestone_id == @id } end def stories epics.collect(&:stories).reduce(:+) end end end
Version data entries
10 entries across 10 versions & 1 rubygems