Class: CloudCrowd::WorkUnit::Serializer
- Inherits:
-
ActiveModel::Serializer
- Object
- ActiveModel::Serializer
- CloudCrowd::WorkUnit::Serializer
- Defined in:
- lib/cloud_crowd/models/work_unit.rb
Overview
The JSON representation of a WorkUnit shares the Job’s options with all its cousin WorkUnits.
Instance Method Summary collapse
Instance Method Details
#options ⇒ Object
187 |
# File 'lib/cloud_crowd/models/work_unit.rb', line 187 def ; JSON.parse(object.job.); end |