Class: Grape::Sideload::MergePayloads
- Inherits:
-
Object
- Object
- Grape::Sideload::MergePayloads
- Defined in:
- lib/grape/sideload/merge_payloads.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(input) ⇒ MergePayloads
constructor
A new instance of MergePayloads.
- #merge_payloads ⇒ Object
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_payloads ⇒ Object
12 13 14 |
# File 'lib/grape/sideload/merge_payloads.rb', line 12 def merge_payloads merged_payloads end |