Module: Carpool::Mixins::ActionController

Defined in:
lib/carpool/mixins/action_controller.rb

Instance Method Summary collapse

Instance Method Details

#carpool_login_urlObject



5
6
7
# File 'lib/carpool/mixins/action_controller.rb', line 5

def 
  Carpool.driver_uri
end

#carpool_logout_urlObject



9
10
11
# File 'lib/carpool/mixins/action_controller.rb', line 9

def carpool_logout_url
  Carpool.revoke_uri
end

#carpool_managerObject



13
14
15
# File 'lib/carpool/mixins/action_controller.rb', line 13

def carpool_manager
  carpool_rack_env['carpool']
end