Class: LD4L::WorksRDF::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/ld4l/works_rdf/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



19
20
21
22
# File 'lib/ld4l/works_rdf/configuration.rb', line 19

def initialize
  @base_uri         = self.class.send(:default_base_uri)
  @localname_minter = self.class.send(:default_localname_minter)
end

Instance Attribute Details

#base_uriObject

Returns the value of attribute base_uri.



5
6
7
# File 'lib/ld4l/works_rdf/configuration.rb', line 5

def base_uri
  @base_uri
end

#localname_minterObject

Returns the value of attribute localname_minter.



6
7
8
# File 'lib/ld4l/works_rdf/configuration.rb', line 6

def localname_minter
  @localname_minter
end

Instance Method Details

#reset_base_uriObject



28
29
30
# File 'lib/ld4l/works_rdf/configuration.rb', line 28

def reset_base_uri
  @base_uri = self.class.send(:default_base_uri)
end

#reset_localname_minterObject



36
37
38
# File 'lib/ld4l/works_rdf/configuration.rb', line 36

def reset_localname_minter
  @localname_minter = self.class.send(:default_localname_minter)
end