Class: Softlayer::User::Customer::Security::Answer

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/user/customer/security/answer.rb

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_User_Customer_Security_Answer'

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Model

all, all_request_for, create, find, #init_headers, parse, process_message, #request, request, service_name, #service_name, #to_hash, #to_softlayer

Methods included from Model::Operations

extended, #filter, included, #limit, #mask, #request_headers

Instance Attribute Details

#answerObject

Returns the value of attribute answer.



7
8
9
# File 'lib/softlayer/user/customer/security/answer.rb', line 7

def answer
  @answer
end

#idObject

Returns the value of attribute id.



8
9
10
# File 'lib/softlayer/user/customer/security/answer.rb', line 8

def id
  @id
end

#questionObject

Returns the value of attribute question.



11
12
13
# File 'lib/softlayer/user/customer/security/answer.rb', line 11

def question
  @question
end

#question_idObject

Returns the value of attribute question_id.



9
10
11
# File 'lib/softlayer/user/customer/security/answer.rb', line 9

def question_id
  @question_id
end

#userObject

Returns the value of attribute user.



12
13
14
# File 'lib/softlayer/user/customer/security/answer.rb', line 12

def user
  @user
end

#user_idObject

Returns the value of attribute user_id.



10
11
12
# File 'lib/softlayer/user/customer/security/answer.rb', line 10

def user_id
  @user_id
end

Instance Method Details

#get_objectObject



14
15
16
# File 'lib/softlayer/user/customer/security/answer.rb', line 14

def get_object
  request(:get_object, Softlayer::User::Customer::Security::Answer)
end

#get_questionObject



18
19
20
# File 'lib/softlayer/user/customer/security/answer.rb', line 18

def get_question
  request(:get_question, Softlayer::User::Security::Question)
end

#get_userObject



22
23
24
# File 'lib/softlayer/user/customer/security/answer.rb', line 22

def get_user
  request(:get_user, Softlayer::User::Customer)
end