Class: Export::UserSerializer

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

Instance Method Summary collapse

Constructor Details

#initialize(user_id, options = {}) ⇒ UserSerializer

Returns a new instance of UserSerializer.


23
24
25
26
# File 'app/serializers/export/user_serializer.rb', line 23

def initialize(user_id, options={})
  @user_id = user_id
  super(object, options)
end