Sha256: 9b5726b8f5dac9e9a7bea06ec4921a309a066540ff6d642f59ee959322a9a01a

Contents?: true

Size: 252 Bytes

Versions: 21

Compression:

Stored size: 252 Bytes

Contents

module ROCrate
  ##
  # A contextual entity that represents a contact point.
  class ContactPoint < ContextualEntity
    properties(%w[name email])

    private

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

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
ro-crate-0.5.2 lib/ro_crate/model/contact_point.rb
ro-crate-0.5.1 lib/ro_crate/model/contact_point.rb
ro-crate-0.5.0 lib/ro_crate/model/contact_point.rb
ro-crate-0.4.17 lib/ro_crate/model/contact_point.rb
ro-crate-0.4.16 lib/ro_crate/model/contact_point.rb
ro-crate-0.4.15 lib/ro_crate/model/contact_point.rb
ro-crate-0.4.14 lib/ro_crate/model/contact_point.rb
ro-crate-0.4.13 lib/ro_crate/model/contact_point.rb
ro-crate-0.4.12 lib/ro_crate/model/contact_point.rb
ro-crate-0.4.11 lib/ro_crate/model/contact_point.rb
ro-crate-0.4.10 lib/ro_crate/model/contact_point.rb
ro-crate-0.4.9 lib/ro_crate/model/contact_point.rb
ro-crate-0.4.8 lib/ro_crate/model/contact_point.rb
ro-crate-0.4.7 lib/ro_crate/model/contact_point.rb
ro-crate-0.4.6 lib/ro_crate/model/contact_point.rb
ro-crate-0.4.5 lib/ro_crate/model/contact_point.rb
ro-crate-0.4.4 lib/ro_crate/model/contact_point.rb
ro-crate-0.4.3 lib/ro_crate/model/contact_point.rb
ro-crate-0.4.2 lib/ro_crate/model/contact_point.rb
ro-crate-0.4.1 lib/ro_crate/model/contact_point.rb