class App42::Review::Review

Attributes

comment[RW]
createdOn[RW]
itemId[RW]
rating[RW]
reviewId[RW]
status[RW]
userId[RW]

Public Instance Methods

to_s() click to toggle source

Returns the User Response in JSON format.

@return the response in JSON format.

# File lib/review/Review.rb, line 32
def to_s
  return "UserId : #{@userId}" + "ItemId : #{@itemId}" + "Status : #{@status}" + "Review ID : #{@reviewId}" + "Comment + #{@comment}" + "Rating : #{@rating}" + "Created On : #{@creartedOn}";
end