Class: SC::Sequence

Inherits:
ORE::Proxy
  • Object
show all
Includes:
NIE::InformationElement
Defined in:
app/models/concerns/sc/sequence.rb

Instance Method Summary collapse

Methods inherited from ORE::Proxy

#apply_prefix, #fields, #insert_field_map, #resource, #to_json, #to_solr, type, #type_config

Constructor Details

#initialize(proxy_for_uri, context_uri, *args) ⇒ Sequence

Returns a new instance of Sequence.



16
17
18
19
# File 'app/models/concerns/sc/sequence.rb', line 16

def initialize(proxy_for_uri, context_uri, *args)
  super(proxy_for_uri, context_uri, *args)
  self.get_values(:type) << RDF::SC[:Sequence]
end