Module: Ghostcrawl::KiotaParseNodeFix Private

Defined in:
lib/ghostcrawl/client.rb

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

Instance Method Summary collapse

Instance Method Details

#get_object_value(factory) ⇒ Object

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.



146
147
148
149
150
151
152
153
# File 'lib/ghostcrawl/client.rb', line 146

def get_object_value(factory)
  return super if factory.respond_to?(:call)
  # Fallback: return the raw parsed node for non-callable factories (e.g. Binary).
  # @current_node is already a Ruby Hash/Array/primitive parsed from JSON.
  @current_node
rescue StandardError
  super
end