lib/norseal/api.rb in norseal-api-0.1.5 vs lib/norseal/api.rb in norseal-api-0.1.6

- old
+ new

@@ -20,10 +20,10 @@ end def self.configure(host, api_key, &block) @api = Her::API.new - @api.setup :url => "http://#{host}/" do |c| + @api.setup :url => "https://#{host}/" do |c| c.use Norseal::Api::MyTokenAuth, token: api_key # c.use FaradayMiddleware::EncodeJson c.use Her::Middleware::AcceptJSON # c.use Her::Middleware::FirstLevelParseJSON