def params_hash
      %i[opcode].push(*ATTRIBUTES)
                .map { |a| [a, send(a).to_s] }
                .to_h
                .reject { |_k, v| v.nil? || v.empty? }
    end
def params_hash
      %i[opcode].push(*ATTRIBUTES)
                .map { |a| [a, send(a).to_s] }
                .to_h
                .reject { |_k, v| v.nil? || v.empty? }
    end
Builds hash with meaningful params only
 @return [Hash]