class Connection
Public Instance Methods
byUrl()
click to toggle source
# File lib/Connection.rb, line 6 def byUrl data = (URI.parse("https://labict.be/software-engineering/temperature/api/temperature/fake").read).to_f puts data return data end