Class: AnyQuery::Adapters::Csv::Config Private

Inherits:
Base::Config show all
Defined in:
lib/any_query/adapters/csv.rb

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

Instance Method Summary collapse

Methods inherited from Base::Config

#initialize, #primary_key, #url

Constructor Details

This class inherits a constructor from AnyQuery::Adapters::Base::Config

Instance Method Details

#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.



9
10
11
12
13
14
15
# File 'lib/any_query/adapters/csv.rb', line 9

def to_h
  {
    url: @url,
    primary_key: @primary_key,
    table: @table
  }
end