Class: Pandarus::NotificationPreference
- Defined in:
- lib/pandarus/models/notification_preference.rb
Instance Attribute Summary collapse
-
#category ⇒ Object
Returns the value of attribute category.
-
#frequency ⇒ Object
Returns the value of attribute frequency.
-
#href ⇒ Object
Returns the value of attribute href.
-
#notification ⇒ Object
Returns the value of attribute notification.
Class Method Summary collapse
Methods inherited from ModelBase
#assign, #attr, #has_attr?, #initialize, #inspect, #to_body, #to_hash, #vivify
Constructor Details
This class inherits a constructor from Pandarus::ModelBase
Instance Attribute Details
#category ⇒ Object
Returns the value of attribute category.
6 7 8 |
# File 'lib/pandarus/models/notification_preference.rb', line 6 def category @category end |
#frequency ⇒ Object
Returns the value of attribute frequency.
6 7 8 |
# File 'lib/pandarus/models/notification_preference.rb', line 6 def frequency @frequency end |
#href ⇒ Object
Returns the value of attribute href.
6 7 8 |
# File 'lib/pandarus/models/notification_preference.rb', line 6 def href @href end |
#notification ⇒ Object
Returns the value of attribute notification.
6 7 8 |
# File 'lib/pandarus/models/notification_preference.rb', line 6 def notification @notification end |
Class Method Details
.attribute_map ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/pandarus/models/notification_preference.rb', line 9 def self.attribute_map { :href => {:external => "href", :container => false, :type => "String"}, :notification => {:external => "notification", :container => false, :type => "String"}, :category => {:external => "category", :container => false, :type => "String"}, :frequency => {:external => "frequency", :container => false, :type => "String"} } end |