Class: FeatureFlagsClientSerializer

Inherits:
BaseSerializer show all
Defined in:
app/serializers/feature_flags_client_serializer.rb

Instance Attribute Summary

Attributes inherited from BaseSerializer

#params

Instance Method Summary collapse

Methods inherited from BaseSerializer

entity, #initialize, #represent

Constructor Details

This class inherits a constructor from BaseSerializer

Instance Method Details

#represent_token(resource, opts = {}) ⇒ Object


6
7
8
# File 'app/serializers/feature_flags_client_serializer.rb', line 6

def represent_token(resource, opts = {})
  represent(resource, only: [:token])
end