Class: Dinie::Events::WebhookEventBase

Inherits:
Internal::Model show all
Defined in:
lib/dinie/generated/events/base.rb,
sig/dinie/generated/events/base.rbs

Constant Summary

Constants inherited from Internal::Model

Internal::Model::REDACTED_ATTRIBUTES

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Model

#==, attribute, attributes, #deconstruct_keys, #hash, inherited, #initialize, #inspect, #to_h

Constructor Details

This class inherits a constructor from Dinie::Internal::Model

Instance Attribute Details

#api_version ⇒ String (readonly)

Returns the value of attribute api_version.

Returns:

  • (String)


8
9
10
# File 'sig/dinie/generated/events/base.rbs', line 8

def api_version
  @api_version
end

#created_at ⇒ Integer (readonly)

Returns the value of attribute created_at.

Returns:

  • (Integer)


9
10
11
# File 'sig/dinie/generated/events/base.rbs', line 9

def created_at
  @created_at
end

#data ⇒ Object (readonly)

Returns the value of attribute data.

Returns:

  • (Object)


10
11
12
# File 'sig/dinie/generated/events/base.rbs', line 10

def data
  @data
end

#delivery_id ⇒ String (readonly)

Returns the value of attribute delivery_id.

Returns:

  • (String)


11
12
13
# File 'sig/dinie/generated/events/base.rbs', line 11

def delivery_id
  @delivery_id
end

#id ⇒ event_id (readonly)

Returns the value of attribute id.

Returns:

  • (event_id)


12
13
14
# File 'sig/dinie/generated/events/base.rbs', line 12

def id
  @id
end

#timestamp ⇒ Integer (readonly)

Returns the value of attribute timestamp.

Returns:

  • (Integer)


13
14
15
# File 'sig/dinie/generated/events/base.rbs', line 13

def timestamp
  @timestamp
end

#type ⇒ String (readonly)

Returns the value of attribute type.

Returns:

  • (String)


14
15
16
# File 'sig/dinie/generated/events/base.rbs', line 14

def type
  @type
end