Sha256: 427a17bedbac277db37c61c4846121e15b9dbc8a18a94d50167c5427b5c9fc4b
Contents?: true
Size: 356 Bytes
Versions: 11
Compression:
Stored size: 356 Bytes
Contents
module RubyIsds module Responses class DataBox < Body REMOVED_KEYS = %w[xmlns:p xmlns:xsi dbStatus].freeze def initialize(response) (response.keys - REMOVED_KEYS).each do |key| self.class.send(:attr_accessor, key.to_sym) instance_variable_set("@#{key}", response[key]) end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems