lib/sepa/client.rb
# Sets the attributes given in a hash
#
# @param hash [Hash] Hash of parameters
# @example
#   {
#     bank: :nordea,
#     command: :download_file_list
#   }
Sets the attributes given in a hash
Sets the attributes given in a hash
def attributes(hash)
      hash.each do |name, value|
        send("#{name}=", value)
      end
    end
def attributes ( hash ) hash . each do | name , value | send ( "#{name}=" , value ) end end
Sets the attributes given in a hash
Sets the attributes given in a hash
hash
Hash of parameters
Hash of parameters
example
{ bank: :nordea, command: :download_file_list }
{ bank : : nordea command : : download_file_list }