Class: PasswordCredential

Inherits:
Object
  • Object
show all
Defined in:
lib/crowd/default.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(credential = nil, encryptedCrednetial = nil) ⇒ PasswordCredential

Returns a new instance of PasswordCredential.



32
33
34
35
# File 'lib/crowd/default.rb', line 32

def initialize(credential = nil, encryptedCrednetial = nil)
  @credential = credential
  @encryptedCrednetial = encryptedCrednetial
end

Instance Attribute Details

#credentialObject

Returns the value of attribute credential.



29
30
31
# File 'lib/crowd/default.rb', line 29

def credential
  @credential
end

#encryptedCrednetialObject

Returns the value of attribute encryptedCrednetial.



30
31
32
# File 'lib/crowd/default.rb', line 30

def encryptedCrednetial
  @encryptedCrednetial
end