Sha256: d029b56632074abd9b3005c883d934a3dde4af25cb50c04ccf0733c6c2937e11

Contents?: true

Size: 375 Bytes

Versions: 4

Compression:

Stored size: 375 Bytes

Contents

module GrooveHQ
  class Client

    module Messages

      def create_message(options)
        post("/tickets/#{ticket_number}/messages", options)
      end

      def message(message_id)
        get("/messages/#{message_id}")
      end

      def messages(ticket_number, options = {})
        get("/tickets/#{ticket_number}/messages", options)
      end

    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
groovehq-1.0.4 lib/groovehq/client/messages.rb
groovehq-1.0.3 lib/groovehq/client/messages.rb
groovehq-1.0.2 lib/groovehq/client/messages.rb
groovehq-1.0.0 lib/groovehq/client/messages.rb