Sha256: 37fb46951e7ec2018615774bf84e83fc73e7cbb25b3cf506fa9642c7e4f54c45

Contents?: true

Size: 992 Bytes

Versions: 4

Compression:

Stored size: 992 Bytes

Contents

require 'voruby/resources/voregistry/loader'
require 'voruby/resources/voresource/voresource_v0_10'

include VORuby::Resources::VOResource::V0_10

module VORuby
  module Resources
    module VORegistry
      module V0_3
        
        # Forward declarations
        class Registry < Service; end
        class Authority < Resource; end
        
        # A service that provides access to descriptions of resources.
        class Registry
          # an authority identifier managed by a registry
          array_node :managed_authorities, 'managedAuthority', :class => AuthorityID, :optional => true, :default_value => []
        end
        
        # A naming authority; an assertion of control over a namespace represented by an authority identifier.
        class Authority
          # the organization that manages or owns the this authority
          object_node :managing_org, 'managingOrg', :class => ResourceName, :optional => true
        end
        
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
voruby-1.1.1 lib/voruby/resources/voregistry/voregistry_v0_3.rb
voruby-1.0.2 lib/voruby/resources/voregistry/voregistry_v0_3.rb
voruby-1.0.1 lib/voruby/resources/voregistry/voregistry_v0_3.rb
voruby-1.1 lib/voruby/resources/voregistry/voregistry_v0_3.rb