Class: Input

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

Instance Method Summary collapse

Instance Method Details

#urlObject



7
8
9
10
11
# File 'lib/input.rb', line 7

def url
    cTemp = (URI.parse("https://labict.be/software-engineering/temperature/api/temperature/fake").read).to_f
    puts cTemp
    return cTemp
end