Sha256: 20343234ef946280ba9bf5501ea3f178112f070ea39284c76c2bc243ba9493ba
Contents?: true
Size: 954 Bytes
Versions: 1
Compression:
Stored size: 954 Bytes
Contents
# ----------------------------------------------------------------------- # Copyright © 2012 ShepHertz Technologies Pvt Ltd. All rights reserved. # ----------------------------------------------------------------------- require 'App42Response.rb' # # # 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_SDK-0.8.3 | lib/review/Review.rb |