Sha256: 7555828e5912d60c36978c195703ca0905c8a1fb207bbb02d42f0a7dd9a090b8

Contents?: true

Size: 390 Bytes

Versions: 3

Compression:

Stored size: 390 Bytes

Contents

module GrooveHQ
  class Client

    module Messages

      def create_message(ticket_number, 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

3 entries across 3 versions & 1 rubygems

Version Path
groovehq-1.0.7 lib/groovehq/client/messages.rb
groovehq-1.0.6 lib/groovehq/client/messages.rb
groovehq-1.0.5 lib/groovehq/client/messages.rb