Module: Sinatra::Castle::Helpers

Defined in:
lib/castle/support/sinatra.rb

Instance Method Summary collapse

Instance Method Details

#castleObject



8
9
10
# File 'lib/castle/support/sinatra.rb', line 8

def castle
  @castle ||= ::Castle::Client.from_request(request)
end