Class: Grumlin::StepsSerializers::Serializer
- Inherits:
-
Object
- Object
- Grumlin::StepsSerializers::Serializer
- Defined in:
- lib/grumlin/steps_serializers/serializer.rb
Instance Method Summary collapse
-
#initialize(steps, **params) ⇒ Serializer
constructor
A new instance of Serializer.
- #serialize ⇒ Object
Constructor Details
#initialize(steps, **params) ⇒ Serializer
Returns a new instance of Serializer.
4 5 6 7 |
# File 'lib/grumlin/steps_serializers/serializer.rb', line 4 def initialize(steps, **params) @steps = steps @params = params end |
Instance Method Details
#serialize ⇒ Object
9 10 11 |
# File 'lib/grumlin/steps_serializers/serializer.rb', line 9 def serialize raise NotImplementedError end |