Sha256: c9503cc346a770bc29796f71e82ab5ea5843e3ff0f07fe4ecfa3ab6d3558a8fa

Contents?: true

Size: 981 Bytes

Versions: 11

Compression:

Stored size: 981 Bytes

Contents

##
#
# TODO: parsing those files and so...
module RubyIsds
  module WebServices
    module DmOperations
      class CreateMessage < ::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].CreateMessage 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_message.rb
ruby_isds-0.12.0 lib/ruby_isds/web_services/dm_operations/create_message.rb
ruby_isds-0.11.1 lib/ruby_isds/web_services/dm_operations/create_message.rb
ruby_isds-0.11.0 lib/ruby_isds/web_services/dm_operations/create_message.rb
ruby_isds-0.10.5 lib/ruby_isds/web_services/dm_operations/create_message.rb
ruby_isds-0.10.4 lib/ruby_isds/web_services/dm_operations/create_message.rb
ruby_isds-0.10.3 lib/ruby_isds/web_services/dm_operations/create_message.rb
ruby_isds-0.10.2 lib/ruby_isds/web_services/dm_operations/create_message.rb
ruby_isds-0.10.1 lib/ruby_isds/web_services/dm_operations/create_message.rb
ruby_isds-0.9.1 lib/ruby_isds/web_services/dm_operations/create_message.rb
ruby_isds-0.9.0 lib/ruby_isds/web_services/dm_operations/create_message.rb