Class: Shipping::Observer

Inherits:
Object
  • Object
show all
Defined in:
app/services/shipping/observer.rb

Overview

Service object: observer.

Instance Method Summary collapse

Instance Method Details

#notify(_operation_name, builder, _globals, _locals) ⇒ Object



4
5
6
7
# File 'app/services/shipping/observer.rb', line 4

def notify(_operation_name, builder, _globals, _locals)
  @builder = builder
  nil
end

#request_xmlObject



9
10
11
# File 'app/services/shipping/observer.rb', line 9

def request_xml
  @builder.to_s
end