class Dovico::Assignment

Constants

URL_PATH

Public Class Methods

parse(hash) click to toggle source
# File lib/dovico/model/assignment.rb, line 16
def self.parse(hash)
  self.new(
    id:           hash["ItemID"],
    assignement_id: hash["AssignmentID"],
    name:         hash["Name"],
    start_date:   hash["StartDate"],
    finish_date:  hash["FinishDate"]
  )
end