Class: DispatchRider::Registrars::PublishingDestination

Inherits:
Base
  • Object
show all
Defined in:
lib/dispatch-rider/registrars/publishing_destination.rb

Instance Attribute Summary

Attributes inherited from Base

#store

Instance Method Summary collapse

Methods inherited from Base

#fetch, #initialize, #register, #unregister

Constructor Details

This class inherits a constructor from DispatchRider::Registrars::Base

Instance Method Details

#value(name, options = {}) ⇒ Object



6
7
8
# File 'lib/dispatch-rider/registrars/publishing_destination.rb', line 6

def value(name, options = {})
  ::OpenStruct.new(:service => options[:service], :channel => options[:channel])
end