Module: Soaspec::SoapAccessors

Included in:
SoapHandler
Defined in:
lib/soaspec/exchange_handlers/soap_handler.rb

Overview

Accessors specific to SOAP handler

Instance Method Summary collapse

Instance Method Details

#root_attributes(attributes) ⇒ Object

Define attributes set on root SOAP element

Parameters:

  • attributes (Hash)

    Attributes used in the root SOAP element



18
19
20
# File 'lib/soaspec/exchange_handlers/soap_handler.rb', line 18

def root_attributes(attributes)
  define_method('request_root_attributes') { attributes }
end