ruby on rails 4 - disable ssl verification on gem active_rest_client -
i'm creating model in ruby/rails uses gem "active-rest_client" (https://github.com/whichdigital/active-rest-client). target server 'speaks' https mismatched ssl cert. need disable ssl verification when query (long story, accept that).
the gem doesn't seem have native way disable ssl verification. however, relies on faraday gem can disable ssl verification (https://gist.github.com/mislav/938183).
when do:
activerestclient::base.faraday_config |faraday| faraday.ssl = false end
it tells me "ssl" undefined method.
does know way?
thanks in advance!
Comments
Post a Comment