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.



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

def currency_code
  @currency_code
end

#displayObject

Returns the value of attribute display.



40
41
42
# File 'lib/uber/models/estimate.rb', line 40

def display
  @display
end

#display_nameObject

Returns the value of attribute display_name.



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

def display_name
  @display_name
end

#distanceObject

Returns the value of attribute distance.



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

def distance
  @distance
end

#durationObject

Returns the value of attribute duration.



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

def duration
  @duration
end

#estimateObject

Returns the value of attribute estimate.



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

def estimate
  @estimate
end

#high_estimateObject

Returns the value of attribute high_estimate.



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

def high_estimate
  @high_estimate
end

#low_estimateObject

Returns the value of attribute low_estimate.



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

def low_estimate
  @low_estimate
end

#minimumObject

Returns the value of attribute minimum.



40
41
42
# File 'lib/uber/models/estimate.rb', line 40

def minimum
  @minimum
end

#product_idObject

Returns the value of attribute product_id.



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

def product_id
  @product_id
end

#surge_confirmation_hrefObject

Returns the value of attribute surge_confirmation_href.



40
41
42
# File 'lib/uber/models/estimate.rb', line 40

def surge_confirmation_href
  @surge_confirmation_href
end

#surge_confirmation_idObject

Returns the value of attribute surge_confirmation_id.



40
41
42
# File 'lib/uber/models/estimate.rb', line 40

def surge_confirmation_id
  @surge_confirmation_id
end

#surge_multiplierObject

Returns the value of attribute surge_multiplier.



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

def surge_multiplier
  @surge_multiplier
end