Class: NSISam::Server
- Inherits:
-
Sinatra::Application
- Object
- Sinatra::Application
- NSISam::Server
- Defined in:
- lib/nsisam/fake_server.rb
Instance Method Summary collapse
Instance Method Details
#generate_key ⇒ Object
12 13 14 |
# File 'lib/nsisam/fake_server.rb', line 12 def generate_key rand.to_s end |
#storage ⇒ Object
8 9 10 |
# File 'lib/nsisam/fake_server.rb', line 8 def storage @@storage ||= {} end |