2017-01-19 10:04:03 -07:00
|
|
|
class FarmEventSerializer < ActiveModel::Serializer
|
2018-01-09 12:47:57 -07:00
|
|
|
class BadExe < StandardError; end
|
2018-01-08 23:02:46 -07:00
|
|
|
attributes :id, :start_time, :end_time, :repeat, :time_unit, :executable_id,
|
2018-03-16 14:47:15 -06:00
|
|
|
:executable_type
|
2017-02-28 15:28:54 -07:00
|
|
|
end
|