I am trying to make use of smartsheet rubygem to connect to smartsheet account and fetch the sheet list.
I used following code
client = Smartsheet::Client.new(token: ACCESS_TOKEN)
sheets = client.sheets.list
On line 2, I am getting below error.
Smartsheet::RequestError: SSL_connect returned=1 errno=0 state=error: certificate verify failed
from app/models/smartsheet_client.rb:18:in `get_sheets'
from (irb):5
I am executing this code from local, what I am missing? Any suggestions much appreciated. Thanks in advance!