lib/hull/connection.rb in hullio-0.1.0 vs lib/hull/connection.rb in hullio-0.2.0
- old
+ new
@@ -16,10 +16,10 @@
:headers => {
:accept => 'application/json',
:user_agent => user_agent,
},
:ssl => {:verify => false},
- :url => options.fetch(:endpoint, endpoint),
+ :url => options.fetch(:org_url, org_url),
:timeout => 10,
:proxy => options.fetch(:proxy, proxy),
:open_timeout => 10
}
@connection ||= Faraday.new(default_options.deep_merge(connection_options)) do |builder|