Class: PivotalAPI::Projects

Inherits:
Project show all
Defined in:
lib/pivotal-tracker-api/project.rb

Instance Attribute Summary

Attributes inherited from Project

#account_id, #bugs_and_chores_are_estimatable, #created_at, #current_iteration_number, #current_velocity, #description, #enable_planned_mode, #epic_ids, #has_google_domain, #id, #integration_ids, #iteration_length, #iteration_override_numbers, #kind, #label_ids, #labels, #membership_ids, #name, #number_of_done_iterations_to_show, #point_scale, #point_scale_is_custom, #profile_content, #public, #shown_iterations_start_time, #start_date, #start_time, #story_ids, #time_zone, #updated_at, #velocity_averaged_over, #version, #week_start_day

Class Method Summary collapse

Methods inherited from Project

#activity, #current_iteration, fields, #iterations, #next_iteration, #previous_iteration, #stories, #story

Methods inherited from Base

#initialize, #to_json

Constructor Details

This class inherits a constructor from PivotalAPI::Base

Class Method Details

.from_json(json) ⇒ Object



96
97
98
# File 'lib/pivotal-tracker-api/project.rb', line 96

def from_json(json)
  parse_json_projects(json)
end

.retrieveObject



92
93
94
# File 'lib/pivotal-tracker-api/project.rb', line 92

def retrieve()
  Service.projects(fields: Project.fields)
end