Module: ActiveRecord::Remote::Helpers::SOAPHelper

Included in:
Base
Defined in:
lib/active_record/remote/helpers/soap_helper.rb

Instance Method Summary collapse

Instance Method Details

#as_soapObject



5
6
7
# File 'lib/active_record/remote/helpers/soap_helper.rb', line 5

def as_soap
  serializable_hash.to_soap(soap_options)
end

#soap_optionsObject



9
10
11
12
13
14
15
# File 'lib/active_record/remote/helpers/soap_helper.rb', line 9

def soap_options
  {
    dasherize:  false,
    skip_types: true,
    omit_nils:  true
  }
end