Class: Libis::Services::Oai::Query
- Inherits:
-
Object
- Object
- Libis::Services::Oai::Query
- Defined in:
- lib/libis/services/oai.rb
Instance Attribute Summary collapse
-
#from ⇒ Object
Returns the value of attribute from.
-
#metadata_prefix ⇒ Object
Returns the value of attribute metadata_prefix.
-
#set ⇒ Object
Returns the value of attribute set.
-
#until ⇒ Object
Returns the value of attribute until.
Instance Method Summary collapse
Instance Attribute Details
#from ⇒ Object
Returns the value of attribute from.
11 12 13 |
# File 'lib/libis/services/oai.rb', line 11 def from @from end |
#metadata_prefix ⇒ Object
Returns the value of attribute metadata_prefix.
11 12 13 |
# File 'lib/libis/services/oai.rb', line 11 def end |
#set ⇒ Object
Returns the value of attribute set.
11 12 13 |
# File 'lib/libis/services/oai.rb', line 11 def set @set end |
#until ⇒ Object
Returns the value of attribute until.
11 12 13 |
# File 'lib/libis/services/oai.rb', line 11 def until @until end |
Instance Method Details
#intialize(metadata_prefix = 'oai_dc') ⇒ Object
13 14 15 16 |
# File 'lib/libis/services/oai.rb', line 13 def intialize( = 'oai_dc') @from = @until = @set = nil = end |
#to_hash ⇒ Object
18 19 20 |
# File 'lib/libis/services/oai.rb', line 18 def to_hash { from: @from, until: @until, metadata_prefix: , set: @set }.cleanup end |