Method: Runcible::Resources::User.path
- Defined in:
- lib/runcible/resources/user.rb
.path(login = nil) ⇒ String
Generates the API path for Users
9 10 11 |
# File 'lib/runcible/resources/user.rb', line 9 def self.path(login = nil) login.nil? ? 'users/' : "users/#{login}/" end |