Sha256: e8cebad62f72873ec7e7ae1a86ad4dd0ac6bb06f203ec989d2d8210c02f97f2a
Contents?: true
Size: 693 Bytes
Versions: 3
Compression:
Stored size: 693 Bytes
Contents
module ThreeScaleToolbox module Commands module ImportCommand module OpenAPI class ImportBackendStep include Step def call verify_params tasks = [] tasks << CreateBackendStep.new(context) tasks << CreateBackendMethodsStep.new(context) tasks << CreateBackendMappingRulesStep.new(context) # run tasks tasks.each(&:call) end private def verify_params if private_endpoint.nil? raise ThreeScaleToolbox::Error, 'private endpoint not specified' end end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems