Sha256: 84a7785337e1fa59172a9f25ada31aeaf7d08836490e71ff26d8b8a8f8e0f759
Contents?: true
Size: 473 Bytes
Versions: 7
Compression:
Stored size: 473 Bytes
Contents
module ThreeScaleToolbox module Commands module ImportCommand module OpenAPI class CreateMappingRulesStep include Step def call operations.each do |op| Entities::MappingRule.create(service: service, attrs: op.mapping_rule) puts "Created #{op.http_method} #{op.pattern} endpoint" end end end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems