Module: ImgToScript::MK90ClientAPI

Defined in:
lib/img_to_script/mk90_client_api.rb,
lib/img_to_script/mk90_client_api/version.rb,
lib/img_to_script/mk90_client_api/autoloader.rb,
lib/img_to_script/mk90_client_api/app_contract.rb,
lib/img_to_script/mk90_client_api/allowed_input.rb,
lib/img_to_script/mk90_client_api/query_handler.rb,
lib/img_to_script/mk90_client_api/query_contract.rb,
lib/img_to_script/mk90_client_api/image_processor.rb,
lib/img_to_script/mk90_client_api/formatter_options_contract.rb,
lib/img_to_script/mk90_client_api/generator_options_contract.rb

Overview

Provides an API between an img_to_mk90_bas client app, and the img_to_script lib.

Defined Under Namespace

Modules: AllowedInput Classes: AppContract, Autoloader, Error, FormatterOptionsContract, GeneratorOptionsContract, ImageProcessor, InvalidImage, QueryContract, QueryError, QueryHandler

Constant Summary collapse

VERSION =
"0.1.1"

Class Method Summary collapse

Class Method Details

.call(query) ⇒ Array<String>

Generate BASIC program by calling the img_to_script gem.

Parameters:

  • query (Hash{ Symbol => Object}, Hash{ String => Object })

Returns:

  • (Array<String>)


34
35
36
# File 'lib/img_to_script/mk90_client_api.rb', line 34

def self.call(query)
  QueryHandler.new.call(query)
end