Module: Castle::Hanami::Action

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

Instance Method Summary collapse

Instance Method Details

#castleObject



6
7
8
# File 'lib/castle/support/hanami.rb', line 6

def castle
  @castle ||= ::Castle::Client.from_request(request, cookies: (cookies if defined?(cookies)))
end