Sha256: 4ae038a182c96de600f7667ec6e2736c58f70447e0bebe3425bfc8ae7f231f8d

Contents?: true

Size: 249 Bytes

Versions: 1

Compression:

Stored size: 249 Bytes

Contents

module Fakeit
  module Openapi
    class Specification
      def initialize(doc)
        @doc = doc
      end

      def operation(method, path)
        @doc.request_operation(method, path)&.then(&Operation.method(:new))
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fakeit-0.1.1 lib/fakeit/openapi/specification.rb