Method: Anthropic::Internal::TokenPage#inspect

Defined in:
lib/anthropic/internal/token_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)


83
84
85
86
87
88
89
# File 'lib/anthropic/internal/token_page.rb', line 83

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} next_page_=#{next_page_.inspect}>"
  # rubocop:enable Layout/LineLength
end