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
text_node :payload_version, 'PayloadVersion', :optional => true
array_node :delivery_url_details, 'DeliveryURLDetails', :class => DeliveryURLDetail, :default_value => []
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?
32 33 34 |
# File 'lib/ebay/types/application_delivery_preferences.rb', line 32 def alerts_enabled? @alert_enable == 'Enable' end |
#application_enabled? ⇒ Boolean
Is the application enabled to received Platform Notifications?
27 28 29 |
# File 'lib/ebay/types/application_delivery_preferences.rb', line 27 def application_enabled? @application_enable == 'Enable' end |