Class: Uber::Price

Inherits:
Base
  • Object
show all
Defined in:
lib/uber/models/price.rb,
lib/uber/models/estimate.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

#currency_codeObject

Returns the value of attribute currency_code.



3
4
5
# File 'lib/uber/models/price.rb', line 3

def currency_code
  @currency_code
end

#displayObject

Returns the value of attribute display.



21
22
23
# File 'lib/uber/models/estimate.rb', line 21

def display
  @display
end

#display_nameObject

Returns the value of attribute display_name.



3
4
5
# File 'lib/uber/models/price.rb', line 3

def display_name
  @display_name
end

#distanceObject

Returns the value of attribute distance.



3
4
5
# File 'lib/uber/models/price.rb', line 3

def distance
  @distance
end

#durationObject

Returns the value of attribute duration.



3
4
5
# File 'lib/uber/models/price.rb', line 3

def duration
  @duration
end

#estimateObject

Returns the value of attribute estimate.



3
4
5
# File 'lib/uber/models/price.rb', line 3

def estimate
  @estimate
end

#high_estimateObject

Returns the value of attribute high_estimate.



3
4
5
# File 'lib/uber/models/price.rb', line 3

def high_estimate
  @high_estimate
end

#low_estimateObject

Returns the value of attribute low_estimate.



3
4
5
# File 'lib/uber/models/price.rb', line 3

def low_estimate
  @low_estimate
end

#minimumObject

Returns the value of attribute minimum.



21
22
23
# File 'lib/uber/models/estimate.rb', line 21

def minimum
  @minimum
end

#product_idObject

Returns the value of attribute product_id.



3
4
5
# File 'lib/uber/models/price.rb', line 3

def product_id
  @product_id
end

#surge_confirmation_hrefObject

Returns the value of attribute surge_confirmation_href.



21
22
23
# File 'lib/uber/models/estimate.rb', line 21

def surge_confirmation_href
  @surge_confirmation_href
end

#surge_confirmation_idObject

Returns the value of attribute surge_confirmation_id.



21
22
23
# File 'lib/uber/models/estimate.rb', line 21

def surge_confirmation_id
  @surge_confirmation_id
end

#surge_multiplierObject

Returns the value of attribute surge_multiplier.



3
4
5
# File 'lib/uber/models/price.rb', line 3

def surge_multiplier
  @surge_multiplier
end