Class: CloudCrowd::WorkUnit::Serializer

Inherits:
ActiveModel::Serializer
  • Object
show all
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

#optionsObject



187
# File 'lib/cloud_crowd/models/work_unit.rb', line 187

def options; JSON.parse(object.job.options); end