Method: Github::Client::Projects#get

Defined in:
lib/github_api/client/projects.rb

#get(*args) ⇒ Object Also known as: find

Get properties for a single project

Examples:

github = Github.new
github.projects.get 1002604

See Also:



30
31
32
33
34
35
36
37
# File 'lib/github_api/client/projects.rb', line 30

def get(*args)
  arguments(args, required: [:id])
  params = arguments.params

  params["accept"] ||= PREVIEW_MEDIA

  get_request("/projects/#{arguments.id}", params)
end