def create(user_name, repo_name, params={})
      _update_user_repo_params(user_name, repo_name)
      _validate_user_repo_params(user, repo) unless user? && repo?
      normalize! params
      assert_required_keys(REQUIRED_KEY_PARAM_NAMES, params)

      post_request("/1.0/repositories/#{user}/#{repo.downcase}/services", params)
    end
def create(user_name, repo_name, params={})
      _update_user_repo_params(user_name, repo_name)
      _validate_user_repo_params(user, repo) unless user? && repo?
      normalize! params
      assert_required_keys(REQUIRED_KEY_PARAM_NAMES, params)

      post_request("/1.0/repositories/#{user}/#{repo.downcase}/services", params)
    end
Create a service

 = Inputs
 * <tt>:type</tt> - One of the supported services. The type is a case-insensitive value.

 = Examples
  bitbucket = BitBucket.new
  bitbucket.repos.services.create 'user-name', 'repo-name',
    "type"           => "Basecamp",
    "Password"       => "...",
    "Username"       => "...",
    "Discussion URL" => "..."