Sha256: 648d5b1458f5affc9c6e65d1b8039fd01cb369a556ca11f20a7fd9431250ae69

Contents?: true

Size: 388 Bytes

Versions: 1

Compression:

Stored size: 388 Bytes

Contents

module Voog
  class API
    module Texts

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