Sha256: 0b9e26c27a53a539ae9aad5c56b2ed1567459e982a711aa6e8d281a322543afc

Contents?: true

Size: 276 Bytes

Versions: 6

Compression:

Stored size: 276 Bytes

Contents

# frozen_string_literal: true

require "modern/struct"

module Modern
  module Descriptor
    class Server < Modern::Struct
      attribute :url, Modern::Types::Strict::String
      attribute :description, Modern::Types::Strict::String.optional.default(nil)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
modern-0.5.0 lib/modern/descriptor/server.rb
modern-0.4.6 lib/modern/descriptor/server.rb
modern-0.4.5 lib/modern/descriptor/server.rb
modern-0.4.4 lib/modern/descriptor/server.rb
modern-0.4.3 lib/modern/descriptor/server.rb
modern-0.4.2 lib/modern/descriptor/server.rb