Sha256: 25dcadc1d4c3c4dca5ff61c7a6dd8ad13429836d0c376eb00657dc3ab1a6bad6

Contents?: true

Size: 431 Bytes

Versions: 11

Compression:

Stored size: 431 Bytes

Contents

module RubyIsds
  module Responses
    module Messages
      class DeliveryInfo < ::RubyIsds::Response
        def initialize(response)
          super
        end

        def message
          ::RubyIsds::DataMessage.new(message_hash)
        end

        private

        def message_hash
          hash = parsed_body['dmDelivery']
          hash['dmDm'].delete('xmlns:p')
          hash
        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/responses/messages/delivery_info.rb
ruby_isds-0.12.0 lib/ruby_isds/responses/messages/delivery_info.rb
ruby_isds-0.11.1 lib/ruby_isds/responses/messages/delivery_info.rb
ruby_isds-0.11.0 lib/ruby_isds/responses/messages/delivery_info.rb
ruby_isds-0.10.5 lib/ruby_isds/responses/messages/delivery_info.rb
ruby_isds-0.10.4 lib/ruby_isds/responses/messages/delivery_info.rb
ruby_isds-0.10.3 lib/ruby_isds/responses/messages/delivery_info.rb
ruby_isds-0.10.2 lib/ruby_isds/responses/messages/delivery_info.rb
ruby_isds-0.10.1 lib/ruby_isds/responses/messages/delivery_info.rb
ruby_isds-0.9.1 lib/ruby_isds/responses/messages/delivery_info.rb
ruby_isds-0.9.0 lib/ruby_isds/responses/messages/delivery_info.rb