Class: WorkOS::EventListListMetadata

Inherits:
Types::BaseModel show all
Defined in:
lib/workos/events/event_list_list_metadata.rb

Constant Summary collapse

HASH_ATTRS =
{
  after: :after
}.freeze

Instance Attribute Summary collapse

Attributes inherited from Types::BaseModel

#last_response

Instance Method Summary collapse

Methods inherited from Types::BaseModel

normalize

Methods included from HashProvider

#inspect, #to_h, #to_json

Constructor Details

#initialize(json) ⇒ EventListListMetadata

Returns a new instance of EventListListMetadata.



13
14
15
16
# File 'lib/workos/events/event_list_list_metadata.rb', line 13

def initialize(json)
  hash = self.class.normalize(json)
  @after = hash[:after]
end

Instance Attribute Details

#afterObject

Returns the value of attribute after.



11
12
13
# File 'lib/workos/events/event_list_list_metadata.rb', line 11

def after
  @after
end