Skip to content

Message to future self #1158

@paneq

Description

@paneq
scheduled = CreditNoteDeliveryForInvoiceScheduled.strict(
  scheduled_at: invoice.credit_note_at,
  invoice_id:   invoice.id,
  order_id:     invoice.order_id,
)
Resque.enqueue_at(invoice.credit_note_at.utc, SendCreditNoteHandler, YAML.dump(scheduled))
event_store.publish(scheduled)

How can we recommend doing this pattern in RES?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions