lib/runcible/resources/role.rb in runcible-1.7.2 vs lib/runcible/resources/role.rb in runcible-1.8.0

- old
+ new

@@ -5,10 +5,10 @@ # Generates the API path for Roles # # @param [String] id the ID of the role # @return [String] the role path, may contain the ID if passed def self.path(id = nil) - (id.nil?) ? 'roles/' : "roles/#{id}/" + id.nil? ? 'roles/' : "roles/#{id}/" end # Adds a user to a role # # @param [String] id the ID of the role