module Nestene class DelayedMethod include StructureMapper::Hash def initialize self.parameters = [] self.scheduled_at = Time.now end attribute name: Symbol attribute parameters: [] attribute uuid: String attribute scheduled_at: Time attribute execute_at: Time attribute every: Float end end