Sha256: 831de65d804d1d34a9a6459989239756508f2f84134cfa7876e5eafb4f637a07

Contents?: true

Size: 393 Bytes

Versions: 1

Compression:

Stored size: 393 Bytes

Contents

module Voog
  class API
    module Texts

      # List text contents
      def texts(params = {})
        paginate 'texts', {query: params}
      end

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

      # Update a text content
      def update_text(id, data)
        put "texts/#{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/texts.rb