Sha256: 3d9bc47c17d25c24973ce7d1b41eb0fe05f2d06f164941c3803428ae3168d3f6
Contents?: true
Size: 1.16 KB
Versions: 1
Compression:
Stored size: 1.16 KB
Contents
# ----------------------------------------------------------------------- # Copyright © 2012 ShepHertz Technologies Pvt Ltd. All rights reserved. # ----------------------------------------------------------------------- require 'App42_Ruby_API/App42Response' # # # This Queue object is the value object which contains the properties of Queue # along with the setter & getter for those properties. # # module App42 module Message class Queue < App42Response attr_accessor :messageList,:queueName,:queueType,:description @messageList = Array.new @queueName @queueType @description end class Message attr_accessor :correlationId,:payLoad,:messageId # # This is a constructor that takes no parameter # def initialize(queue) queue.messageList.push(self); end @correlationId @payLoad @messageId # # Returns the Queue Response in JSON format. # # @return the response in JSON format. # # def to_s return "correlationId : #{@correlationId}" + "payLoad : #{@payLoad}" + "messageId : #{@messageId}" ; end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
App42_Ruby_API-0.8.4 | lib/message/Queue.rb |