Sha256: 04c2a5cc733b2058077d2fbad1f2e47e9c12400c7b42bedfa598be12f69944c2

Contents?: true

Size: 367 Bytes

Versions: 14

Compression:

Stored size: 367 Bytes

Contents

module Expressir
  module Model
    class Interface < ModelElement
      USE = :USE
      REFERENCE = :REFERENCE

      attr_accessor :kind
      attr_accessor :schema
      attr_accessor :items

      def initialize(options = {})
        @kind = options[:kind]
        @schema = options[:schema]
        @items = options.fetch(:items, [])
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
expressir-0.2.11 lib/expressir/model/interface.rb
expressir-0.2.11-x86_64-linux lib/expressir/model/interface.rb
expressir-0.2.11-x86_64-darwin lib/expressir/model/interface.rb
expressir-0.2.11-x86-mingw32 lib/expressir/model/interface.rb
expressir-0.2.11-x86-linux lib/expressir/model/interface.rb
expressir-0.2.11-x64-mingw32 lib/expressir/model/interface.rb
expressir-0.2.11-arm64-darwin lib/expressir/model/interface.rb
expressir-0.2.10 lib/expressir/model/interface.rb
expressir-0.2.10-x86_64-linux lib/expressir/model/interface.rb
expressir-0.2.10-x86_64-darwin lib/expressir/model/interface.rb
expressir-0.2.10-x86-mingw32 lib/expressir/model/interface.rb
expressir-0.2.10-x86-linux lib/expressir/model/interface.rb
expressir-0.2.10-x64-mingw32 lib/expressir/model/interface.rb
expressir-0.2.10-arm64-darwin lib/expressir/model/interface.rb