Class: TomogramRouting::Request
- Inherits:
-
Hash
- Object
- Hash
- TomogramRouting::Request
- Defined in:
- lib/tomogram_routing/request.rb
Instance Method Summary collapse
Instance Method Details
#find_responses(status:) ⇒ Object
3 4 5 6 7 |
# 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 |