class Tito::Event

Public Class Methods

resource_path(request_type = nil) click to toggle source
# File lib/tito/event.rb, line 6
def self.resource_path(request_type = nil)
  return "events" if request_type == :all
  nil
end

Public Instance Methods

path() click to toggle source
# File lib/tito/event.rb, line 11
def path
  "#{account_slug}/#{slug}"  
end
post_path() click to toggle source
# File lib/tito/event.rb, line 19
def post_path
  "#{account_slug}/events"
end
put_path() click to toggle source
# File lib/tito/event.rb, line 15
def put_path
  path
end