Sha256: 49bfaa65fe46503695d3ee2fea5c072faef32e5e3c9486bd456382c7f718d2ca

Contents?: true

Size: 535 Bytes

Versions: 1

Compression:

Stored size: 535 Bytes

Contents

# frozen_string_literal: true

require "openapi3_parser/node/object"

module Openapi3Parser
  module Nodes
    class Info
      include Node::Object

      def title
        node_data["title"]
      end

      def description
        node_data["description"]
      end

      def terms_of_service
        node_data["termsOfService"]
      end

      def contact
        node_data["contact"]
      end

      def license
        node_data["license"]
      end

      def version
        node_data["version"]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openapi3_parser-0.1.0 lib/openapi3_parser/nodes/info.rb