Class: Yelp::Fusion::Responses::Models::User

Inherits:
Base
  • Object
show all
Defined in:
lib/yelp/fusion/responses/models/user.rb

Overview

Model for the User JSON body

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ User

Returns a new instance of User.



32
33
34
# File 'lib/yelp/fusion/responses/models/user.rb', line 32

def initialize(json)
  super(json)
end

Instance Attribute Details

#image_urlObject (readonly)

Returns the value of attribute image_url.



31
32
33
# File 'lib/yelp/fusion/responses/models/user.rb', line 31

def image_url
  @image_url
end

#nameObject (readonly)

Returns the value of attribute name.



31
32
33
# File 'lib/yelp/fusion/responses/models/user.rb', line 31

def name
  @name
end