Method: AnyQuery::Adapters::Http::Config#to_h

Defined in:
lib/any_query/adapters/http.rb

#to_hObject

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.



15
16
17
18
19
20
21
22
# File 'lib/any_query/adapters/http.rb', line 15

def to_h
  {
    url: @url,
    primary_key: @primary_key,
    wrapper: @wrapper,
    endpoints: @endpoints
  }
end