Class: Mocodo::WebCuration::Contents
- Defined in:
- lib/mocodo/web_curation.rb
Constant Summary collapse
- EndPoint =
"/webCuration/v3/contents"
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Mocodo::Base
Instance Method Details
#get(options = {}) ⇒ Object
12 13 14 |
# File 'lib/mocodo/web_curation.rb', line 12 def get(={}) JSON.parse(open(build_url(EndPoint, )).read, symbolize_names: true) end |