def create_partnership(first_user, second_user, options={}, &block)
      raise 'Error: Param first_user is nil!' if first_user.nil?
      raise 'Error: Param second_user is nil!' if second_user.nil?

      path = if first_user.is_a?(Resource::User) && second_user.is_a?(Resource::User)
               partnership_path(first_user.username, second_user.username)
             elsif first_user.is_a?(String) && second_user.is_a?(String)
               partnership_path(first_user, second_user)
             else
               raise 'Error: Invalid parameters!'
             end
      url = url_for_path(path)
      builder = Builder::Partnership.new(public_visible: Privacy::Public)
      block.call(builder) if block_given?
      begin
        client.put(url, builder.to_xml, options) do |response|
          a_hash = parse response
          Resource::Partnership.from_coach a_hash
        end
      rescue => e
        raise e if debug
        false
      end
    end
def create_partnership(first_user, second_user, options={}, &block)
      raise 'Error: Param first_user is nil!' if first_user.nil?
      raise 'Error: Param second_user is nil!' if second_user.nil?

      path = if first_user.is_a?(Resource::User) && second_user.is_a?(Resource::User)
               partnership_path(first_user.username, second_user.username)
             elsif first_user.is_a?(String) && second_user.is_a?(String)
               partnership_path(first_user, second_user)
             else
               raise 'Error: Invalid parameters!'
             end
      url = url_for_path(path)
      builder = Builder::Partnership.new(public_visible: Privacy::Public)
      block.call(builder) if block_given?
      begin
        client.put(url, builder.to_xml, options) do |response|
          a_hash = parse response
          Resource::Partnership.from_coach a_hash
        end
      rescue => e
        raise e if debug
        false
      end
    end
Creates a partnership with public visibility as default.

 @param [User|String] first_user
 @param [User|String] second_user
 @param [Hash] options
 @return [Partnership]

 ====Examples
 @example
   @coach.create_partnership('arueedlinger','wanze2')

 @example
   @coach.create_partnership('arueedlinger','wanze2') do |p|
      p.public_visible = Coach4rb::Private
   end