lib/mockarron/app.rb
def find_route_response_by_id(id)
      routes.each do |route|
        route.responses.each_with_index do |resp, index|
          return resp if resp.id == id
        end
      end

      nil
    end
# Find and return a `RouteResponse` by ID.
#
# @return [Mockarron::RouteResponse]
Find and return a `RouteResponse` by ID.
Find and return a ` RouteResponse ` by ID .
def find_route_response_by_id(id)
      routes.each do |route|
        route.responses.each_with_index do |resp, index|
          return resp if resp.id == id
        end
      end
      nil
    end
def find_route_response_by_id ( id ) routes . each do | route | route . responses . each_with_index do | resp , index | return resp if resp . id == id end end nil end
Find and return a `RouteResponse` by ID.
Find and return a ` RouteResponse ` by ID .
None
Mockarron::RouteResponse
id