Class: Api::V1::FireSerializer
- Inherits:
-
ActiveModel::Serializer
- Object
- ActiveModel::Serializer
- Api::V1::FireSerializer
- Defined in:
- app/serializers/orb_def/api/v1/fire_serializer.rb
Instance Method Summary collapse
Instance Method Details
#id ⇒ Object
5 6 7 |
# File 'app/serializers/orb_def/api/v1/fire_serializer.rb', line 5 def id object.id.to_s end |
#weather_reading_id ⇒ Object
9 10 11 |
# File 'app/serializers/orb_def/api/v1/fire_serializer.rb', line 9 def weather_reading_id object.weather_reading_id.to_s end |
#weather_station_id ⇒ Object
13 14 15 |
# File 'app/serializers/orb_def/api/v1/fire_serializer.rb', line 13 def weather_station_id object.weather_station_id.to_s end |