Class: Grape::Sideload::MergePayloads

Inherits:
Object
  • Object
show all
Defined in:
lib/grape/sideload/merge_payloads.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(input) ⇒ MergePayloads

Returns a new instance of MergePayloads.



4
5
6
# File 'lib/grape/sideload/merge_payloads.rb', line 4

def initialize(input)
  @input = input
end

Class Method Details

.call(*input) ⇒ Object



8
9
10
# File 'lib/grape/sideload/merge_payloads.rb', line 8

def self.call(*input)
  new(input).merge_payloads
end

Instance Method Details

#merge_payloadsObject



12
13
14
# File 'lib/grape/sideload/merge_payloads.rb', line 12

def merge_payloads
  merged_payloads
end