Method: Redox::Models::Meta#add_destination
- Defined in:
- lib/redox/models/meta.rb
#add_destination(name:, id:) ⇒ Object
23 24 25 26 27 28 |
# File 'lib/redox/models/meta.rb', line 23 def add_destination(name: , id: ) self[:Destinations] ||= [] self[:Destinations] << Meta.build_subscription(name: name, id: id) return self end |