Class: Libis::Services::Oai::Query

Inherits:
Object
  • Object
show all
Defined in:
lib/libis/services/oai.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#fromObject

Returns the value of attribute from.



11
12
13
# File 'lib/libis/services/oai.rb', line 11

def from
  @from
end

#metadata_prefixObject

Returns the value of attribute metadata_prefix.



11
12
13
# File 'lib/libis/services/oai.rb', line 11

def 
  
end

#setObject

Returns the value of attribute set.



11
12
13
# File 'lib/libis/services/oai.rb', line 11

def set
  @set
end

#untilObject

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_hashObject



18
19
20
# File 'lib/libis/services/oai.rb', line 18

def to_hash
  { from: @from, until: @until, metadata_prefix: , set: @set }.cleanup
end