lib/feast/api.rb
# rubocop:disable Style/StringHashKeys
# rack app convention
#
# @param env [Rack::ENV]
disable Style/StringHashKeys
rack app convention
disable Style / StringHashKeys rack app convention
def call(env)
      path_info = env['PATH_INFO']
      result = @results[path_info] || ''
      [200, { 'ContentType' => 'application/json' }, [result]]
    end
def call ( env ) path_info = env [ 'PATH_INFO' ] result = @results [ path_info ] || '' [ 200 , { 'ContentType' => 'application/json' } , [ result ] ] end
rubocop:disable Style/StringHashKeys
rack app convention
rubocop : disable Style / StringHashKeys rack app convention
env
<not_specific>
<not_specific>
None