Sha256: f5779cc29c6d1ce1a70f8968795d8c0024457aadee4533ee34272dba4a05ef4d

Contents?: true

Size: 498 Bytes

Versions: 1

Compression:

Stored size: 498 Bytes

Contents

module Voog
  class API
    module ContentPartials

      # List content partials contents
      def content_partials(params = {})
        get '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.7 lib/voog_api/api/content_partials.rb