Class: Softlayer::User::Customer::ApiAuthentication
- Defined in:
- lib/softlayer/user/customer/api_authentication.rb
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_User_Customer_ApiAuthentication'
Instance Attribute Summary collapse
-
#authentication_key ⇒ Object
Returns the value of attribute authentication_key.
-
#id ⇒ Object
Returns the value of attribute id.
-
#ip_address_restriction ⇒ Object
Returns the value of attribute ip_address_restriction.
-
#timestamp_key ⇒ Object
Returns the value of attribute timestamp_key.
-
#user ⇒ Object
Returns the value of attribute user.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
Instance Method Summary collapse
-
#edit_object(message) ⇒ Object
template_object.
- #get_object ⇒ Object
- #get_user ⇒ Object
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
#authentication_key ⇒ Object
Returns the value of attribute authentication_key.
6 7 8 |
# File 'lib/softlayer/user/customer/api_authentication.rb', line 6 def authentication_key @authentication_key end |
#id ⇒ Object
Returns the value of attribute id.
7 8 9 |
# File 'lib/softlayer/user/customer/api_authentication.rb', line 7 def id @id end |
#ip_address_restriction ⇒ Object
Returns the value of attribute ip_address_restriction.
8 9 10 |
# File 'lib/softlayer/user/customer/api_authentication.rb', line 8 def ip_address_restriction @ip_address_restriction end |
#timestamp_key ⇒ Object
Returns the value of attribute timestamp_key.
9 10 11 |
# File 'lib/softlayer/user/customer/api_authentication.rb', line 9 def @timestamp_key end |
#user ⇒ Object
Returns the value of attribute user.
11 12 13 |
# File 'lib/softlayer/user/customer/api_authentication.rb', line 11 def user @user end |
#user_id ⇒ Object
Returns the value of attribute user_id.
10 11 12 |
# File 'lib/softlayer/user/customer/api_authentication.rb', line 10 def user_id @user_id end |
Instance Method Details
#edit_object(message) ⇒ Object
template_object
14 15 16 |
# File 'lib/softlayer/user/customer/api_authentication.rb', line 14 def edit_object() request(:edit_object, Softlayer::User::Customer::ApiAuthentication, ) end |
#get_object ⇒ Object
18 19 20 |
# File 'lib/softlayer/user/customer/api_authentication.rb', line 18 def get_object request(:get_object, Softlayer::User::Customer::ApiAuthentication) end |