Class: SynapseClient::SecurityQuestion

Inherits:
Object
  • Object
show all
Defined in:
lib/synapse_client/security_question.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ SecurityQuestion

Returns a new instance of SecurityQuestion.



8
9
10
11
12
13
# File 'lib/synapse_client/security_question.rb', line 8

def initialize(options={})
  options = Map.new(options)

  @id   = options[:id]
  @text = options[:questions]
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



5
6
7
# File 'lib/synapse_client/security_question.rb', line 5

def id
  @id
end

#textObject (readonly)

Returns the value of attribute text.



6
7
8
# File 'lib/synapse_client/security_question.rb', line 6

def text
  @text
end