Class: Uber::Driver

Inherits:
Base
  • Object
show all
Defined in:
lib/uber/models/request.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#attrs

Method Summary

Methods inherited from Base

#[], #initialize

Constructor Details

This class inherits a constructor from Uber::Base

Instance Attribute Details

#nameObject

Returns the value of attribute name.



54
55
56
# File 'lib/uber/models/request.rb', line 54

def name
  @name
end

#phone_numberObject

Returns the value of attribute phone_number.



54
55
56
# File 'lib/uber/models/request.rb', line 54

def phone_number
  @phone_number
end

#picture_urlObject

Returns the value of attribute picture_url.



54
55
56
# File 'lib/uber/models/request.rb', line 54

def picture_url
  @picture_url
end

#ratingObject

Returns the value of attribute rating.



54
55
56
# File 'lib/uber/models/request.rb', line 54

def rating
  @rating
end