Class: Shipping::Observer

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

Instance Method Summary collapse

Instance Method Details

#notify(operation_name, builder, globals, locals) ⇒ Object



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

def notify(operation_name, builder, globals, locals)
  @builder = builder
  nil
end

#request_xmlObject



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

def request_xml
  @builder.to_s
end