Class: Export::OthersDataSerializer
- Inherits:
-
ActiveModel::Serializer
- Object
- ActiveModel::Serializer
- Export::OthersDataSerializer
- Defined in:
- app/serializers/export/others_data_serializer.rb
Instance Method Summary collapse
-
#initialize(user_id) ⇒ OthersDataSerializer
constructor
A new instance of OthersDataSerializer.
Constructor Details
#initialize(user_id) ⇒ OthersDataSerializer
Returns a new instance of OthersDataSerializer.
9 10 11 12 |
# File 'app/serializers/export/others_data_serializer.rb', line 9 def initialize(user_id) @user_id = user_id super(object) end |