Class: EZAPIClient::GenData
- Inherits:
-
Object
- Object
- EZAPIClient::GenData
- Defined in:
- lib/ezapi_client/services/gen_data.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.call(attributes) ⇒ Object
16 17 18 |
# File 'lib/ezapi_client/services/gen_data.rb', line 16 def self.call(attributes) self.new(attributes).() end |
Instance Method Details
#call ⇒ Object
20 21 22 23 24 25 |
# File 'lib/ezapi_client/services/gen_data.rb', line 20 def call if log logger.info(EZAPIClient::LOG_PROGNAME) { command } end ExecCommand.(command) end |