Module: MandrillQueue::Message::RecipientMetadata::DSL
- Included in:
- Internal
- Defined in:
- lib/mandrill_queue/message/recipient/metadata.rb
Instance Method Summary collapse
Instance Method Details
#recipient_metadata(*args, &block) ⇒ Object
15 16 17 18 19 |
# File 'lib/mandrill_queue/message/recipient/metadata.rb', line 15 def (*args, &block) @_recipient_metadata ||= RecipientMetadata.new @_recipient_metadata.dsl(*args, &block) if block_given? || args.count > 0 block_given? ? self : @_recipient_metadata end |