Class: Ebay::Types::ApplicationDeliveryPreferences
- Inherits:
-
Object
- Object
- Ebay::Types::ApplicationDeliveryPreferences
- Includes:
- Initializer, XML::Mapping
- Defined in:
- lib/ebay/types/application_delivery_preferences.rb
Overview
Attributes
text_node :application_url, 'ApplicationURL', :optional => true
text_node :application_enable, 'ApplicationEnable', :optional => true
text_node :alert_email, 'AlertEmail', :optional => true
text_node :alert_enable, 'AlertEnable', :optional => true
text_node :notification_payload_type, 'NotificationPayloadType', :optional => true
text_node :device_type, 'DeviceType', :optional => true
Instance Method Summary collapse
-
#alerts_enabled? ⇒ Boolean
Are alerts enabled?.
-
#application_enabled? ⇒ Boolean
Is the application enabled to received Platform Notifications?.
Methods included from Initializer
#initialize, #object_attributes=
Instance Method Details
#alerts_enabled? ⇒ Boolean
Are alerts enabled?
27 28 29 |
# File 'lib/ebay/types/application_delivery_preferences.rb', line 27 def alerts_enabled? @alert_enable == 'Enable' end |
#application_enabled? ⇒ Boolean
Is the application enabled to received Platform Notifications?
22 23 24 |
# File 'lib/ebay/types/application_delivery_preferences.rb', line 22 def application_enabled? @application_enable == 'Enable' end |