Class: Hws::Instruments::Models::Instrument

Inherits:
ActiveRecord::Base
  • Object
show all
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: #{options})")
  self.instrument_config.executor.execute(action, self, options)
end