app/services/anoubis/request_service.rb
##
# Returns cookies data for current session
# @return [Hash] Cookies data
Returns cookies data for current session
Returns cookies data for current session
def cookies
    return @cookies if @cookies
    @cookies = redis.get cookie_path
    if @cookies
      begin
        @cookies = JSON.parse(self.cookies, { symbolize_names: true })
      rescue
        @cookies = {}
      end
    else
      @cookies = {}
    end
    @cookies
  end
def cookies return @cookies if @cookies @cookies = redis . get cookie_path if @cookies begin @cookies = JSON . parse ( self . cookies , { symbolize_names : true } ) rescue @cookies = { } end else @cookies = { } end @cookies end
Returns cookies data for current session
Returns cookies data for current session
None
Hash