Sha256: 002bdf7b72c286198508dd1b868826fcae16dae005d03308cfc86a6f9b19bb48

Contents?: true

Size: 246 Bytes

Versions: 10

Compression:

Stored size: 246 Bytes

Contents

module ROCrate
  ##
  # A contextual entity that represents an organization.
  class Organization < ContextualEntity
    properties(%w[name])

    private

    def default_properties
      super.merge('@type' => 'Organization')
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ro-crate-0.5.2 lib/ro_crate/model/organization.rb
ro-crate-0.5.1 lib/ro_crate/model/organization.rb
ro-crate-0.5.0 lib/ro_crate/model/organization.rb
ro-crate-0.4.17 lib/ro_crate/model/organization.rb
ro-crate-0.4.16 lib/ro_crate/model/organization.rb
ro-crate-0.4.15 lib/ro_crate/model/organization.rb
ro-crate-0.4.14 lib/ro_crate/model/organization.rb
ro-crate-0.4.13 lib/ro_crate/model/organization.rb
ro-crate-0.4.12 lib/ro_crate/model/organization.rb
ro-crate-0.4.11 lib/ro_crate/model/organization.rb