Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 773 Bytes

File metadata and controls

28 lines (22 loc) · 773 Bytes

Komoju::Event

Properties

Name Type Description Notes
id String A unique 25-character alphanumeric resource identifier.
type String Event type slug (e.g. "payment.captured", "payment.expired").
resource String Resource type name, always "event".
created_at Time Timestamp when this event was created.
reason String Human-readable reason or description for this event.
data Payment

Example

require 'komoju-sdk'

instance = Komoju::Event.new(
  id: null,
  type: null,
  resource: null,
  created_at: null,
  reason: null,
  data: null
)