Sha256: 56ccc3703f2224dc0fcd818f28c50f9495ddd9625a854bdab75d1670a4f42451

Contents?: true

Size: 461 Bytes

Versions: 1

Compression:

Stored size: 461 Bytes

Contents

module ThreeScaleToolbox
  module Commands
    module ImportCommand
      module OpenAPI
        module Method

          def method
            {
              'friendly_name' => friendly_name,
              'system_name' => system_name
            }
          end

          def friendly_name
            operation[:operationId]
          end

          def system_name
            friendly_name.downcase
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
3scale_toolbox-0.6.0 lib/3scale_toolbox/commands/import_command/openapi/method.rb