Class: Urbanairship::Devices::Attributes
- Inherits:
-
Object
- Object
- Urbanairship::Devices::Attributes
- Defined in:
- lib/urbanairship/devices/attributes.rb
Constant Summary collapse
- SET =
'set'
- REMOVE =
'remove'
Instance Method Summary collapse
-
#initialize(attributes) ⇒ Attributes
constructor
A new instance of Attributes.
- #payload ⇒ Object
Constructor Details
#initialize(attributes) ⇒ Attributes
Returns a new instance of Attributes.
9 10 11 |
# File 'lib/urbanairship/devices/attributes.rb', line 9 def initialize(attributes) @attributes = attributes end |
Instance Method Details
#payload ⇒ Object
13 14 15 |
# File 'lib/urbanairship/devices/attributes.rb', line 13 def payload @payload ||= { attributes: attributes_list } end |