Class: Softlayer::Notification::User::Subscriber::Billing
- Inherits:
-
Softlayer::Notification::User::Subscriber
- Object
- Model
- Entity
- Softlayer::Notification::User::Subscriber
- Softlayer::Notification::User::Subscriber::Billing
- Defined in:
- lib/softlayer/notification/user/subscriber/billing.rb
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Notification_User_Subscriber_Billing'
Instance Attribute Summary
Attributes inherited from Softlayer::Notification::User::Subscriber
#active, #delivery_method_count, #delivery_methods, #id, #notification, #notification_id, #preference_count, #preferences, #preferences_detail_count, #preferences_details, #resource_record, #user_record, #user_record_id
Class Method Summary collapse
-
.create_object(message) ⇒ Object
template_object.
Instance Method Summary collapse
-
#edit_object(message) ⇒ Object
template_object.
- #get_delivery_methods ⇒ Object
- #get_notification ⇒ Object
- #get_object ⇒ Object
- #get_preferences ⇒ Object
- #get_preferences_details ⇒ Object
- #get_resource_record ⇒ Object
- #get_user_record ⇒ 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
Class Method Details
.create_object(message) ⇒ Object
template_object
9 10 11 |
# File 'lib/softlayer/notification/user/subscriber/billing.rb', line 9 def self.create_object() request(:create_object, Boolean, ) end |
Instance Method Details
#edit_object(message) ⇒ Object
template_object
14 15 16 |
# File 'lib/softlayer/notification/user/subscriber/billing.rb', line 14 def edit_object() request(:edit_object, Boolean, ) end |
#get_delivery_methods ⇒ Object
18 19 20 |
# File 'lib/softlayer/notification/user/subscriber/billing.rb', line 18 def get_delivery_methods request(:get_delivery_methods, Array[Softlayer::Notification::Delivery::Method]) end |
#get_notification ⇒ Object
22 23 24 |
# File 'lib/softlayer/notification/user/subscriber/billing.rb', line 22 def get_notification request(:get_notification, Softlayer::Notification) end |
#get_object ⇒ Object
26 27 28 |
# File 'lib/softlayer/notification/user/subscriber/billing.rb', line 26 def get_object request(:get_object, Softlayer::Notification::User::Subscriber::Billing) end |
#get_preferences ⇒ Object
30 31 32 |
# File 'lib/softlayer/notification/user/subscriber/billing.rb', line 30 def get_preferences request(:get_preferences, Array[Softlayer::Notification::User::Subscriber::Preference]) end |
#get_preferences_details ⇒ Object
34 35 36 |
# File 'lib/softlayer/notification/user/subscriber/billing.rb', line 34 def get_preferences_details request(:get_preferences_details, Array[Softlayer::Notification::Preference]) end |
#get_resource_record ⇒ Object
38 39 40 |
# File 'lib/softlayer/notification/user/subscriber/billing.rb', line 38 def get_resource_record request(:get_resource_record, Softlayer::Notification::User::Subscriber::Resource) end |