class Yelp::Fusion::Responses::Models::Reviews

Model for the Reviews JSON body

Attributes

id[R]
rating[R]
text[R]
time_created[R]
url[R]
user[R]

Public Class Methods

new(json) click to toggle source
Calls superclass method Yelp::Fusion::Responses::Base::new
# File lib/yelp/fusion/responses/models/reviews.rb, line 33
def initialize(json)
  super(json)
  @user = parse(@user, User)
end