Class: Softlayer::Notification::Mobile
- Inherits:
-
Softlayer::Notification
- Object
- Model
- Entity
- Softlayer::Notification
- Softlayer::Notification::Mobile
- Defined in:
- lib/softlayer/notification/mobile.rb
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Notification_Mobile'
Instance Attribute Summary
Attributes inherited from Softlayer::Notification
#id, #key_name, #name, #preference_count, #preferences, #required_preference_count, #required_preferences
Class Method Summary collapse
-
.create_subscriber_for_mobile_device(message) ⇒ Object
key_name resource_table_id user_record_id.
- .get_all_objects ⇒ Object
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
Class Method Details
.create_subscriber_for_mobile_device(message) ⇒ Object
key_name resource_table_id user_record_id
9 10 11 |
# File 'lib/softlayer/notification/mobile.rb', line 9 def self.create_subscriber_for_mobile_device() request(:create_subscriber_for_mobile_device, Boolean, ) end |
.get_all_objects ⇒ Object
13 14 15 |
# File 'lib/softlayer/notification/mobile.rb', line 13 def self.get_all_objects request(:get_all_objects, Array[Softlayer::Notification]) end |
Instance Method Details
#get_object ⇒ Object
17 18 19 |
# File 'lib/softlayer/notification/mobile.rb', line 17 def get_object request(:get_object, Softlayer::Notification::Mobile) end |
#get_preferences ⇒ Object
21 22 23 |
# File 'lib/softlayer/notification/mobile.rb', line 21 def get_preferences request(:get_preferences, Array[Softlayer::Notification::Preference]) end |
#get_required_preferences ⇒ Object
25 26 27 |
# File 'lib/softlayer/notification/mobile.rb', line 25 def get_required_preferences request(:get_required_preferences, Array[Softlayer::Notification::Preference]) end |