Class: Uber::Promotion

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

#display_textObject

Returns the value of attribute display_text.



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

def display_text
  @display_text
end

#localized_valueObject

Returns the value of attribute localized_value.



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

def localized_value
  @localized_value
end

#typeObject

Returns the value of attribute type.



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

def type
  @type
end