def encode_body object
      if object.is_a? Hash
        object.each do |k, v|
          encode_value k, v, :hash
        end
      elsif object.is_a? Array
        encode_array object
      end
    end
def encode_body object
      if object.is_a? Hash
        object.each do |k, v|
          encode_value k, v, :hash
        end
      elsif object.is_a? Array
        encode_array object
      end
    end
General Methods