class DispatchRider::Publisher::Configuration::Destination

Attributes

channel[R]
name[R]
options[R]
service[R]

Public Class Methods

new(name, attributes={}) click to toggle source
# File lib/dispatch-rider/publisher/configuration/destination.rb, line 5
def initialize(name, attributes={})
  @name = name

  attributes = attributes.with_indifferent_access
  @service = attributes[:service]
  @channel = attributes[:channel]
  @options = attributes[:options]
end

Public Instance Methods

==(other) click to toggle source
# File lib/dispatch-rider/publisher/configuration/destination.rb, line 16
def ==(other)
  name == other.name &&
    service == other.service &&
    channel == other.channel &&
    options == other.options
end