lib/tito/event.rb in tito-0.2.5 vs lib/tito/event.rb in tito-0.2.6
- old
+ new
@@ -1,10 +1,11 @@
module Tito
class Event < Base
extend Eventable::ClassMethods
- def self.resource_path
+ def self.resource_path(request_type = nil)
+ return "events" if request_type == :all
nil
end
def path
"#{account_slug}/#{slug}"
\ No newline at end of file