1
0
mirror of https://github.com/bumi/rack-lightning synced 2026-02-25 12:20:51 +00:00
This commit is contained in:
2018-10-28 23:10:12 +01:00
parent 038f31601a
commit e9df6d3a11
2 changed files with 51 additions and 17 deletions

View File

@@ -8,7 +8,7 @@ module Rack
def initialize(app, options={})
@app = app
@invoice_storage = {}
@invoice_storage = {} # TODO: don't store this in memory!
@options = options
@price = @options[:price] || 100
@options[:address] ||= 'localhost:10009'