Class: DPLibrary::Document
- Inherits:
-
Object
- Object
- DPLibrary::Document
- Defined in:
- lib/DPLibrary/document.rb
Instance Attribute Summary collapse
-
#collection ⇒ Object
Returns the value of attribute collection.
-
#creator ⇒ Object
Returns the value of attribute creator.
-
#description ⇒ Object
Returns the value of attribute description.
-
#format ⇒ Object
Returns the value of attribute format.
-
#id ⇒ Object
Returns the value of attribute id.
-
#intermediate_provider ⇒ Object
Returns the value of attribute intermediate_provider.
-
#language ⇒ Object
Returns the value of attribute language.
-
#original_record ⇒ Object
Returns the value of attribute original_record.
-
#provider ⇒ Object
Returns the value of attribute provider.
-
#publisher ⇒ Object
Returns the value of attribute publisher.
-
#score ⇒ Object
Returns the value of attribute score.
-
#source ⇒ Object
Returns the value of attribute source.
-
#subject ⇒ Object
Returns the value of attribute subject.
-
#title ⇒ Object
Returns the value of attribute title.
-
#type ⇒ Object
Returns the value of attribute type.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(response_hash = {}) ⇒ Document
constructor
A new instance of Document.
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
#collection ⇒ Object
Returns the value of attribute collection.
3 4 5 |
# File 'lib/DPLibrary/document.rb', line 3 def collection @collection end |
#creator ⇒ Object
Returns the value of attribute creator.
3 4 5 |
# File 'lib/DPLibrary/document.rb', line 3 def creator @creator end |
#description ⇒ Object
Returns the value of attribute description.
3 4 5 |
# File 'lib/DPLibrary/document.rb', line 3 def description @description end |
#format ⇒ Object
Returns the value of attribute format.
3 4 5 |
# File 'lib/DPLibrary/document.rb', line 3 def format @format end |
#id ⇒ Object
Returns the value of attribute id.
3 4 5 |
# File 'lib/DPLibrary/document.rb', line 3 def id @id end |
#intermediate_provider ⇒ Object
Returns the value of attribute intermediate_provider.
3 4 5 |
# File 'lib/DPLibrary/document.rb', line 3 def intermediate_provider @intermediate_provider end |
#language ⇒ Object
Returns the value of attribute language.
3 4 5 |
# File 'lib/DPLibrary/document.rb', line 3 def language @language end |
#original_record ⇒ Object
Returns the value of attribute original_record.
3 4 5 |
# File 'lib/DPLibrary/document.rb', line 3 def original_record @original_record end |
#provider ⇒ Object
Returns the value of attribute provider.
3 4 5 |
# File 'lib/DPLibrary/document.rb', line 3 def provider @provider end |
#publisher ⇒ Object
Returns the value of attribute publisher.
3 4 5 |
# File 'lib/DPLibrary/document.rb', line 3 def publisher @publisher end |
#score ⇒ Object
Returns the value of attribute score.
3 4 5 |
# File 'lib/DPLibrary/document.rb', line 3 def score @score end |
#source ⇒ Object
Returns the value of attribute source.
3 4 5 |
# File 'lib/DPLibrary/document.rb', line 3 def source @source end |
#subject ⇒ Object
Returns the value of attribute subject.
3 4 5 |
# File 'lib/DPLibrary/document.rb', line 3 def subject @subject end |
#title ⇒ Object
Returns the value of attribute title.
3 4 5 |
# File 'lib/DPLibrary/document.rb', line 3 def title @title end |
#type ⇒ Object
Returns the value of attribute type.
3 4 5 |
# File 'lib/DPLibrary/document.rb', line 3 def type @type end |
#url ⇒ Object
Returns the value of attribute url.
3 4 5 |
# File 'lib/DPLibrary/document.rb', line 3 def url @url end |