class ResourceSubscriber::Configuration

Public Class Methods

with_defaults() click to toggle source
# File lib/resource_subscriber/configuration.rb, line 3
def self.with_defaults
  new.tap do |c|
    c.exchange = 'events'
    c.publishing_options = { :content_type => 'application/json' }.freeze
  end
end