lib/runcible/resources/repository.rb in runcible-1.7.2 vs lib/runcible/resources/repository.rb in runcible-1.8.0
- old
+ new
@@ -7,10 +7,10 @@
# Generates the API path for Repositories
#
# @param [String] id the id of the repository
# @return [String] the repository path, may contain the id if passed
def self.path(id = nil)
- (id.nil?) ? 'repositories/' : "repositories/#{id}/"
+ id.nil? ? 'repositories/' : "repositories/#{id}/"
end
# Creates a repository
#
# @param [String] id the id of the repository