Module: Commons::Client::Content
- Included in:
- Commons::Client
- Defined in:
- lib/commons/client/content.rb
Instance Method Summary collapse
-
#content(id, options = {}) ⇒ Array<Hashie::Mash>
Use this query to get the information about one product.
-
#taxonomy_term(id, options = {}) ⇒ Array<Hashie::Mash>
Use this query to get the Taxonomy Terms.
Instance Method Details
#content(id, options = {}) ⇒ Array<Hashie::Mash>
Use this query to get the information about one product
12 13 14 |
# File 'lib/commons/client/content.rb', line 12 def content(id,={}) get("node/#{id}.json", ) end |
#taxonomy_term(id, options = {}) ⇒ Array<Hashie::Mash>
Use this query to get the Taxonomy Terms
24 25 26 |
# File 'lib/commons/client/content.rb', line 24 def taxonomy_term(id,={}) get("taxonomy_term/#{id}.json", ) end |