Class: Sinatra::FacebookSettings

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

Instance Method Summary collapse

Constructor Details

#initialize(app, &blk) ⇒ FacebookSettings

Returns a new instance of FacebookSettings.



341
342
343
344
345
# File 'lib/sinbook.rb', line 341

def initialize app, &blk
  @app = app
  @app.set :facebook_symbolize_keys, false
  instance_eval &blk
end