Class: Services::Hl7MessageTrimmingContext

Inherits:
Object
  • Object
show all
Defined in:
app/contexts/services/hl7_message_trimming_context.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeHl7MessageTrimmingContext

Returns a new instance of Hl7MessageTrimmingContext.



9
10
11
# File 'app/contexts/services/hl7_message_trimming_context.rb', line 9

def initialize
  self.extend Hl7MessageTrimmer
end

Class Method Details

.callObject



5
6
7
# File 'app/contexts/services/hl7_message_trimming_context.rb', line 5

def self.call 
  Hl7MessageTrimmingContext.new.call
end

Instance Method Details

#callObject



13
14
15
# File 'app/contexts/services/hl7_message_trimming_context.rb', line 13

def call
  trim_messages
end