Sha256: cc9ea4d1ad819bfd049b5471ebb1a68a41ea72bade58d94be31a9cdc177a8869

Contents?: true

Size: 998 Bytes

Versions: 11

Compression:

Stored size: 998 Bytes

Contents

##
#
# TODO: parsing those files and so...
module RubyIsds
  module WebServices
    module DmOperations
      class CreateMultipleMessages < ::RubyIsds::WebServices::DmOperations::Request
        ATTRS = %i[dmSenderOrgUnit dmSenderOrgUnitNum dbIDRecipient
                   dmRecipientOrgUnit dmRecipientOrgUnitNum dmToHands
                   dmAnnotation dmRecipientRefNumber dmSenderRefNumber
                   dmRecipientIdent dmSenderIdent dmLegalTitleLaw
                   dmLegalTitleYear dmLegalTitleSect dmLegalTitlePar
                   dmLegalTitlePoint dmPersonalDelivery dmAllowSubstDelivery
                   dmOVM dmPublishOwnID].freeze
        # + files:
        #   dmFiles: { dmFile: { dmEncodedContent: '', dmXMLContent: '' } }

        attr_accessor(*ATTRS)

        def body(xml)
          xml[:v20].CreateMultipleMessage do
            xml[:v20].dmEnvelope(dmType: 'WTF') do
              values(xml)
            end
          end
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ruby_isds-0.13.0 lib/ruby_isds/web_services/dm_operations/create_multiple_messages.rb
ruby_isds-0.12.0 lib/ruby_isds/web_services/dm_operations/create_multiple_messages.rb
ruby_isds-0.11.1 lib/ruby_isds/web_services/dm_operations/create_multiple_messages.rb
ruby_isds-0.11.0 lib/ruby_isds/web_services/dm_operations/create_multiple_messages.rb
ruby_isds-0.10.5 lib/ruby_isds/web_services/dm_operations/create_multiple_messages.rb
ruby_isds-0.10.4 lib/ruby_isds/web_services/dm_operations/create_multiple_messages.rb
ruby_isds-0.10.3 lib/ruby_isds/web_services/dm_operations/create_multiple_messages.rb
ruby_isds-0.10.2 lib/ruby_isds/web_services/dm_operations/create_multiple_messages.rb
ruby_isds-0.10.1 lib/ruby_isds/web_services/dm_operations/create_multiple_messages.rb
ruby_isds-0.9.1 lib/ruby_isds/web_services/dm_operations/create_multiple_messages.rb
ruby_isds-0.9.0 lib/ruby_isds/web_services/dm_operations/create_multiple_messages.rb