Class: Export::OthersDataSerializer

Inherits:
ActiveModel::Serializer
  • Object
show all
Defined in:
app/serializers/export/others_data_serializer.rb

Instance Method Summary collapse

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