Sha256: e10f7854153b8d6cf542f392af1f1e04458e44e7d32cf11c434e51d27a31e12a
Contents?: true
Size: 346 Bytes
Versions: 10
Compression:
Stored size: 346 Bytes
Contents
module Clubhouse class Label < ClubhouseResource def self.properties [ :archived, :color, :created_at, :entity_type, :external_id, :id, :name, :stats, :updated_at ] end def self.api_url 'labels' end def stories @client.projects.collect(&:stories).reduce(:+).select { |s| s.labels.collect(&:id).include? @id } end end end
Version data entries
10 entries across 10 versions & 1 rubygems