Sha256: 1a160f0499ff6511d7f43d46ee10dcfefee9a7d0187692266b8dd8f814345bc3

Contents?: true

Size: 503 Bytes

Versions: 1

Compression:

Stored size: 503 Bytes

Contents

module Voog
  class API
    module ContentPartials

      # List content partials contents
      def content_partials(params = {})
        paginate 'content_partials', {query: params}
      end

      # Get a single content partial content
      def content_partial(id, params = {})
        get "content_partials/#{id}", {query: params}
      end

      # Update a content partial content
      def update_content_partial(id, data)
        put "content_partials/#{id}", data
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
voog_api-0.0.10 lib/voog_api/api/content_partials.rb