Class: FruitToLime::DealStatus
- Inherits:
-
Object
- Object
- FruitToLime::DealStatus
- Includes:
- SerializeHelper
- Defined in:
- lib/fruit_to_lime/model/deal_status.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#label ⇒ Object
Returns the value of attribute label.
Instance Method Summary collapse
Methods included from SerializeHelper
#get_import_rows, get_import_rows, #map_symbol_to_row, #map_to_row, serialize, #serialize, #serialize_to_file, serialize_to_file, serialize_variables, #symbol_to_name
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
5 6 7 |
# File 'lib/fruit_to_lime/model/deal_status.rb', line 5 def id @id end |
#label ⇒ Object
Returns the value of attribute label.
5 6 7 |
# File 'lib/fruit_to_lime/model/deal_status.rb', line 5 def label @label end |
Instance Method Details
#serialize_variables ⇒ Object
7 8 9 |
# File 'lib/fruit_to_lime/model/deal_status.rb', line 7 def serialize_variables [ :id, :label ].map{ |p| { :id => p, :type => :string } } end |