The client initialization howto
Closed this issue · 1 comments
bosskovic commented
Hello, how do I initialize the client? The documentation here seems to be inaccurate, the initializer in Dato::Site::Client takes no arguments.
Thanks
stefanoverna commented
Hi @bosskovic, actually the class takes 2 arguments, token and options:
ruby-datocms-client/lib/dato/api_client.rb
Lines 29 to 34 in 44943c2