Module: Models::OpenIdAuthentication

Defined in:
lib/_models/open_id_authentication.rb

Defined Under Namespace

Modules: ClassMethods

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#open_idsObject



3
# File 'lib/_models/open_id_authentication.rb', line 3

def open_ids; @open_ids ||= [] end

Instance Method Details

#authenticated_by_open_id?(open_id) ⇒ Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/_models/open_id_authentication.rb', line 9

def authenticated_by_open_id? open_id
  self.open_id == open_id
end