Sha256: 0b3bbdc2d24678d727f07ebe125476c37e385914b328a07d25c1421f77029fe2
Contents?: true
Size: 515 Bytes
Versions: 2
Compression:
Stored size: 515 Bytes
Contents
module Paddle class SimulationRunEvent < Object class << self def retrieve(simulation_id:, run_id:, id:) response = Client.get_request("simulations/#{simulation_id}/runs/#{run_id}/events/#{id}") SimulationRunEvent.new(response.body["data"]) end def replay(simulation_id:, run_id:, id:) response = Client.post_request("simulations/#{simulation_id}/runs/#{run_id}/events/#{id}/replay") SimulationRunEvent.new(response.body["data"]) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
paddle-2.7.0 | lib/paddle/models/simulation_run_event.rb |
paddle-2.6.0 | lib/paddle/models/simulation_run_event.rb |