Class: Hws::Instruments::Models::Instrument
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Hws::Instruments::Models::Instrument
- Defined in:
- lib/hws-instruments/models/instrument.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#execute(action:, options: {}) ⇒ Object
6 7 8 9 |
# File 'lib/hws-instruments/models/instrument.rb', line 6 def execute(action:, options: {}) Rails.logger.debug("Instrument.execute(action: #{action}, options: #{})") self.instrument_config.executor.execute(action, self, ) end |