Module: MongoMapper::Plugins::OpenIdAuthentication::InstanceMethods

Defined in:
lib/rad/mongo_mapper/acts_as/authenticated_by_open_id.rb

Instance Method Summary collapse

Instance Method Details

#authenticated_by_open_id?(open_id) ⇒ Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/rad/mongo_mapper/acts_as/authenticated_by_open_id.rb', line 6

def authenticated_by_open_id? open_id
  self.open_id == open_id
end