module Github::GitData::Blobs

def create_blob(user_name, repo_name, params={})


"encoding" => "utf-8"
"content" => "Content of the blob",
@github.git_data.create_blob 'user-name', 'repo-name',
@github = Github.new
= Examples
* :encoding - String containing encodingutf-8 or base64
* :content - String of content
= Inputs

Create a blob
def create_blob(user_name, repo_name, params={})
  _update_user_repo_params(user_name, repo_name)
  _validate_user_repo_params(user, repo) unless user? && repo?
  _normalize_params_keys(params)
  _filter_params_keys(VALID_BLOB_PARAM_NAMES, params)
  raise ArgumentError, "Required params are: #{VALID_BLOB_PARAM_NAMES.join(', ')}" unless _validate_inputs(VALID_BLOB_PARAM_NAMES, params)
  post("/repos/#{user}/#{repo}/git/blobs", params)
end