Class: PivotalAPI::Tasks

Inherits:
Task show all
Defined in:
lib/pivotal-tracker-api/task.rb

Instance Attribute Summary

Attributes inherited from Task

#complete, #created_at, #description, #id, #position, #project_id, #story_id

Class Method Summary collapse

Methods inherited from Base

#initialize, #to_json

Constructor Details

This class inherits a constructor from PivotalAPI::Base

Class Method Details

.from_json(json) ⇒ Object



51
52
53
54
# File 'lib/pivotal-tracker-api/task.rb', line 51

def self.from_json(json)
  return nil unless json
  parse_tasks(json)
end