Class: Buoyancy::Connection
- Inherits:
-
Object
- Object
- Buoyancy::Connection
- Defined in:
- lib/buoyancy/connection.rb
Class Method Summary collapse
Class Method Details
.new ⇒ Object
6 7 8 9 10 |
# File 'lib/buoyancy/connection.rb', line 6 def self.new Faraday.new(url: "http://www.ndbc.noaa.gov/data") do |faraday| faraday.adapter Faraday.default_adapter end end |