class TomogramRouting::Request

Public Instance Methods

find_responses(status:) click to toggle source
# File lib/tomogram_routing/request.rb, line 3
def find_responses(status:)
  self['responses'].find_all do |response|
    response['status'] == status.to_s
  end
end