Class: DPLibrary::Document

Inherits:
Object
  • Object
show all
Defined in:
lib/DPLibrary/document.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response_hash = {}) ⇒ Document

Returns a new instance of Document.



20
21
22
# File 'lib/DPLibrary/document.rb', line 20

def initialize(response_hash={})
  set_values(response_hash)
end

Instance Attribute Details

#collectionObject

Returns the value of attribute collection.



3
4
5
# File 'lib/DPLibrary/document.rb', line 3

def collection
  @collection
end

#creatorObject

Returns the value of attribute creator.



3
4
5
# File 'lib/DPLibrary/document.rb', line 3

def creator
  @creator
end

#descriptionObject

Returns the value of attribute description.



3
4
5
# File 'lib/DPLibrary/document.rb', line 3

def description
  @description
end

#formatObject

Returns the value of attribute format.



3
4
5
# File 'lib/DPLibrary/document.rb', line 3

def format
  @format
end

#idObject

Returns the value of attribute id.



3
4
5
# File 'lib/DPLibrary/document.rb', line 3

def id
  @id
end

#intermediate_providerObject

Returns the value of attribute intermediate_provider.



3
4
5
# File 'lib/DPLibrary/document.rb', line 3

def intermediate_provider
  @intermediate_provider
end

#languageObject

Returns the value of attribute language.



3
4
5
# File 'lib/DPLibrary/document.rb', line 3

def language
  @language
end

#original_recordObject

Returns the value of attribute original_record.



3
4
5
# File 'lib/DPLibrary/document.rb', line 3

def original_record
  @original_record
end

#providerObject

Returns the value of attribute provider.



3
4
5
# File 'lib/DPLibrary/document.rb', line 3

def provider
  @provider
end

#publisherObject

Returns the value of attribute publisher.



3
4
5
# File 'lib/DPLibrary/document.rb', line 3

def publisher
  @publisher
end

#scoreObject

Returns the value of attribute score.



3
4
5
# File 'lib/DPLibrary/document.rb', line 3

def score
  @score
end

#sourceObject

Returns the value of attribute source.



3
4
5
# File 'lib/DPLibrary/document.rb', line 3

def source
  @source
end

#subjectObject

Returns the value of attribute subject.



3
4
5
# File 'lib/DPLibrary/document.rb', line 3

def subject
  @subject
end

#titleObject

Returns the value of attribute title.



3
4
5
# File 'lib/DPLibrary/document.rb', line 3

def title
  @title
end

#typeObject

Returns the value of attribute type.



3
4
5
# File 'lib/DPLibrary/document.rb', line 3

def type
  @type
end

#urlObject

Returns the value of attribute url.



3
4
5
# File 'lib/DPLibrary/document.rb', line 3

def url
  @url
end