Class: HardwareInformation::SinatraMyHardware
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- HardwareInformation::SinatraMyHardware
show all
- Defined in:
- lib/hardware_information/www/purchased_hardware/purchased_hardware_for_sinatra.rb
Overview
Constant Summary
collapse
- USE_THIS_PORT =
'4567'
Class Method Summary
collapse
Instance Method Summary
collapse
Constructor Details
23
24
25
26
27
|
# File 'lib/hardware_information/www/purchased_hardware/purchased_hardware_for_sinatra.rb', line 23
def initialize
super()
target = "http://localhost:#{USE_THIS_PORT}/"
Cyberweb.try_to_open_this_URL_via_the_browser(target, USE_THIS_PORT)
end
|
Class Method Details
.start_sinatra_interface ⇒ Object
47
48
49
|
# File 'lib/hardware_information/www/purchased_hardware/purchased_hardware_for_sinatra.rb', line 47
def self.start_sinatra_interface
::HardwareInformation::SinatraMyHardware.run!
end
|