Class: Softlayer::User::Customer::External::Binding
- Inherits:
-
External::Binding
show all
- Defined in:
- lib/softlayer/user/customer/external/binding.rb,
lib/softlayer/user/customer/external/binding/totp.rb,
lib/softlayer/user/customer/external/binding/type.rb,
lib/softlayer/user/customer/external/binding/phone.rb,
lib/softlayer/user/customer/external/binding/vendor.rb,
lib/softlayer/user/customer/external/binding/verisign.rb,
lib/softlayer/user/customer/external/binding/attribute.rb
Defined Under Namespace
Classes: Attribute, Phone, Representer, Totp, Type, Vendor, Verisign
Constant Summary
collapse
- SERVICE =
'SoftLayer_User_Customer_External_Binding'
Instance Attribute Summary collapse
#active, #attribute_count, #attributes, #billing_item, #create_date, #external_id, #id, #note, #password, #type, #type_id, #user_id, #vendor, #vendor_id
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
extended, #filter, included, #limit, #mask, #request_headers
Instance Attribute Details
#user ⇒ Object
Returns the value of attribute user.
13
14
15
|
# File 'lib/softlayer/user/customer/external/binding.rb', line 13
def user
@user
end
|
Instance Method Details
#delete_object ⇒ Object
15
16
17
|
# File 'lib/softlayer/user/customer/external/binding.rb', line 15
def delete_object
request(:delete_object, Boolean)
end
|
#disable(message) ⇒ Object
20
21
22
|
# File 'lib/softlayer/user/customer/external/binding.rb', line 20
def disable(message)
request(:disable, Boolean, message)
end
|
#enable ⇒ Object
24
25
26
|
# File 'lib/softlayer/user/customer/external/binding.rb', line 24
def enable
request(:enable, Boolean)
end
|
#get_billing_item ⇒ Object
32
33
34
|
# File 'lib/softlayer/user/customer/external/binding.rb', line 32
def get_billing_item
request(:get_billing_item, Softlayer::Billing::Item)
end
|
#get_note ⇒ Object
36
37
38
|
# File 'lib/softlayer/user/customer/external/binding.rb', line 36
def get_note
request(:get_note, String)
end
|
#get_user ⇒ Object
48
49
50
|
# File 'lib/softlayer/user/customer/external/binding.rb', line 48
def get_user
request(:get_user, Softlayer::User::Customer)
end
|
#update_note(message) ⇒ Object
57
58
59
|
# File 'lib/softlayer/user/customer/external/binding.rb', line 57
def update_note(message)
request(:update_note, Boolean, message)
end
|