Class: SynapseClient::SecurityQuestion
- Inherits:
-
Object
- Object
- SynapseClient::SecurityQuestion
- Defined in:
- lib/synapse_client/security_question.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#text ⇒ Object
readonly
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ SecurityQuestion
constructor
A new instance of SecurityQuestion.
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(={}) = Map.new() @id = [:id] @text = [:questions] end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
5 6 7 |
# File 'lib/synapse_client/security_question.rb', line 5 def id @id end |
#text ⇒ Object (readonly)
Returns the value of attribute text.
6 7 8 |
# File 'lib/synapse_client/security_question.rb', line 6 def text @text end |