Sha256: 008a6d76492a2f4e2f274c6ff80bea94f1aad70187b36228427591804736c0e0
Contents?: true
Size: 966 Bytes
Versions: 1
Compression:
Stored size: 966 Bytes
Contents
# ----------------------------------------------------------------------- # Copyright © 2012 ShepHertz Technologies Pvt Ltd. All rights reserved. # ----------------------------------------------------------------------- require 'App42_Ruby_API/App42Response' # # # This Review object is the value object which contains the properties of # Review. # # module App42 module Review class Review < App42Response attr_accessor :userId, :itemId,:status,:reviewId,:comment,:rating,:createdOn @userId @itemId @status @reviewId @comment @rating @createdOn # # Returns the User Response in JSON format. # # @return the response in JSON format. # def to_s return "UserId : #{@userId}" + "ItemId : #{@itemId}" + "Status : #{@status}" + "Review ID : #{@reviewId}" + "Comment + #{@comment}" + "Rating : #{@rating}" + "Created On : #{@creartedOn}"; end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
App42_Ruby_API-0.8.4 | lib/review/Review.rb |