Class: LighthouseRatingInfoSerializer
- Inherits:
-
ActiveModel::Serializer
- Object
- ActiveModel::Serializer
- LighthouseRatingInfoSerializer
- Defined in:
- app/serializers/lighthouse_rating_info_serializer.rb
Instance Method Summary collapse
Instance Method Details
#id ⇒ Object
6 7 8 |
# File 'app/serializers/lighthouse_rating_info_serializer.rb', line 6 def id nil end |
#read_attribute_for_serialization(attr) ⇒ Object
14 15 16 |
# File 'app/serializers/lighthouse_rating_info_serializer.rb', line 14 def read_attribute_for_serialization(attr) respond_to?(attr) ? send(attr) : object[attr] end |
#source_system ⇒ Object
10 11 12 |
# File 'app/serializers/lighthouse_rating_info_serializer.rb', line 10 def source_system 'Lighthouse' end |