Class: PipelineService::Serializers::Assignment

Inherits:
Object
  • Object
show all
Defined in:
app/services/pipeline_service/serializers/assignment.rb

Instance Method Summary collapse

Constructor Details

#initialize(object:) ⇒ Assignment

Returns a new instance of Assignment.



4
5
6
# File 'app/services/pipeline_service/serializers/assignment.rb', line 4

def initialize(object:)
  @object = object
end

Instance Method Details

#callObject



8
9
10
# File 'app/services/pipeline_service/serializers/assignment.rb', line 8

def call
  fetch
end