module Voog::API::ContentPartials
Public Instance Methods
content_partial(id, params = {})
click to toggle source
Get a single content partial content
@see www.voog.com/developers/api/resources/content_partials#get_content_partial
# File lib/voog_api/api/content_partials.rb, line 19 def content_partial(id, params = {}) get "content_partials/#{id}", {query: params} end
content_partials(params = {})
click to toggle source
List content partials contents
@see www.voog.com/developers/api/resources/content_partials#get_content_partials
# File lib/voog_api/api/content_partials.rb, line 12 def content_partials(params = {}) paginate 'content_partials', {query: params} end
update_content_partial(id, data)
click to toggle source
Update a content partial content
@see www.voog.com/developers/api/resources/content_partials#update_content_partial
# File lib/voog_api/api/content_partials.rb, line 26 def update_content_partial(id, data) put "content_partials/#{id}", data end