Method: Anthropic::Internal::Page#inspect

Defined in:
lib/anthropic/internal/page.rb

#inspectString

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (String)


90
91
92
93
94
95
96
# File 'lib/anthropic/internal/page.rb', line 90

def inspect
  # rubocop:disable Layout/LineLength
  model = Anthropic::Internal::Type::Converter.inspect(@model, depth: 1)

  "#<#{self.class}[#{model}]:0x#{object_id.to_s(16)} has_more=#{has_more.inspect} first_id=#{first_id.inspect} last_id=#{last_id.inspect}>"
  # rubocop:enable Layout/LineLength
end