lib/ticketmaster/project.rb in ticketmaster-0.3.6 vs lib/ticketmaster/project.rb in ticketmaster-0.3.7
- old
+ new
@@ -84,10 +84,10 @@
# Accepts an integer id and returns the single project instance
# Must be defined by the provider
def self.find_by_id(id)
if self::API.is_a? Class
- self.new self::API.find id
+ self.new self::API.find(id)
else
raise TicketMaster::Exception.new("This method must be reimplemented in the provider")
end
end