Class: Buoyancy::Connection

Inherits:
Object
  • Object
show all
Defined in:
lib/buoyancy/connection.rb

Class Method Summary collapse

Class Method Details

.newObject



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