Class: GdsApi::ContentStore
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#client, #create_client, #get_list!, #initialize, #url_for_slug
Constructor Details
This class inherits a constructor from GdsApi::Base
Instance Method Details
#content_item(base_path) ⇒ Object
6 7 8 |
# File 'lib/gds_api/content_store.rb', line 6 def content_item(base_path) get_json(content_item_url(base_path)) end |
#content_item!(base_path) ⇒ Object
10 11 12 |
# File 'lib/gds_api/content_store.rb', line 10 def content_item!(base_path) get_json!(content_item_url(base_path)) end |