lib/runcible/resources/user.rb in runcible-1.7.2 vs lib/runcible/resources/user.rb in runcible-1.8.0
- old
+ new
@@ -5,10 +5,10 @@
# Generates the API path for Users
#
# @param [String] login the user's login
# @return [String] the user path, may contain the login if passed
def self.path(login = nil)
- (login.nil?) ? 'users/' : "users/#{login}/"
+ login.nil? ? 'users/' : "users/#{login}/"
end
# Retrieves all users
#
# @return [RestClient::Response]