Class: Dovico::Assignment
- Inherits:
-
Object
- Object
- Dovico::Assignment
- Includes:
- ActiveAttr::Model
- Defined in:
- lib/dovico/model/assignment.rb
Constant Summary collapse
- URL_PATH =
'Assignments'
Class Method Summary collapse
Class Method Details
.parse(hash) ⇒ Object
16 17 18 19 20 21 22 23 24 |
# 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 |