Method: Octokit::Organization.path
- Defined in:
- lib/octokit/organization.rb
.path(org) ⇒ String
Get the api path for an organization
8 9 10 11 12 13 14 15 |
# File 'lib/octokit/organization.rb', line 8 def self.path org case org when String "orgs/#{org}" when Integer "organizations/#{org}" end end |