Class: Cangaroo::Connection
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Cangaroo::Connection
- Defined in:
- app/models/cangaroo/connection.rb
Class Method Summary collapse
Class Method Details
.authenticate(key, token) ⇒ Object
10 11 12 |
# File 'app/models/cangaroo/connection.rb', line 10 def self.authenticate(key, token) where(key: key, token: token).first end |