Method: Pgai::Client#initialize

Defined in:
lib/pgai/client.rb

#initialize(token:, host: "http://127.0.0.1:2355") ⇒ Client

Returns a new instance of Client.


7
8
9
# File 'lib/pgai/client.rb', line 7

def initialize(token:, host: "http://127.0.0.1:2355")
  @client = Excon.new(host, headers: {"Verification-Token" => token})
end