class Github::GitData::Blobs

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


"encoding" => "utf-8"
"content" => "Content of the blob",
github.git_data.blobs.create '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(user_name, repo_name, params={})
  _update_user_repo_params(user_name, repo_name)
  _validate_user_repo_params(user, repo) unless user? && repo?
  normalize! params
  filter! VALID_BLOB_PARAM_NAMES, params
  assert_required_keys(VALID_BLOB_PARAM_NAMES, params)
  post_request("/repos/#{user}/#{repo}/git/blobs", params)
end