lib/tito/event.rb in tito-0.2.1 vs lib/tito/event.rb in tito-0.2.2

- old
+ new

@@ -1,25 +1,19 @@ module Tito class Event < Base + extend Eventable::ClassMethods + def path "#{account_slug}/#{slug}" end def put_path path end def post_path "#{account_slug}/events" - end - - def self.for_account(url) - RequestProxy.new(proxy_class: self, proxy_path: url) - end - - def self.[](url) - self.for_account(url) end # property :title, type: :string # property :slug, type: :string # property :account_slug, type: :string \ No newline at end of file