Sha256: b5bc405a03409ff6a76dc5b62f9d6a0b67f179aecb5accfda0a616b5583bb000

Contents?: true

Size: 398 Bytes

Versions: 55

Compression:

Stored size: 398 Bytes

Contents

module DispatchRider
  class Publisher
    module ConfigurationSupport

      def configuration
        @configuration ||= Configuration.new
      end
      alias_method :config, :configuration

      def configure(configuration_hash = {})
        if block_given?
          yield configuration
        else
          configuration.parse(configuration_hash)
        end
      end

    end
  end
end

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
dispatch-rider-1.9.0 lib/dispatch-rider/publisher/configuration_support.rb
dispatch-rider-1.8.6 lib/dispatch-rider/publisher/configuration_support.rb
dispatch-rider-1.8.5 lib/dispatch-rider/publisher/configuration_support.rb
dispatch-rider-1.8.4 lib/dispatch-rider/publisher/configuration_support.rb
dispatch-rider-1.8.3 lib/dispatch-rider/publisher/configuration_support.rb
dispatch-rider-1.8.2 lib/dispatch-rider/publisher/configuration_support.rb
dispatch-rider-1.8.1 lib/dispatch-rider/publisher/configuration_support.rb
dispatch-rider-1.8.0 lib/dispatch-rider/publisher/configuration_support.rb
dispatch-rider-1.7.2 lib/dispatch-rider/publisher/configuration_support.rb
dispatch-rider-1.7.1 lib/dispatch-rider/publisher/configuration_support.rb
dispatch-rider-1.7.0 lib/dispatch-rider/publisher/configuration_support.rb
dispatch-rider-1.6.2 lib/dispatch-rider/publisher/configuration_support.rb
dispatch-rider-1.6.1 lib/dispatch-rider/publisher/configuration_support.rb
dispatch-rider-1.6.0 lib/dispatch-rider/publisher/configuration_support.rb
dispatch-rider-1.5.3 lib/dispatch-rider/publisher/configuration_support.rb
dispatch-rider-1.5.2 lib/dispatch-rider/publisher/configuration_support.rb
dispatch-rider-1.5.1 lib/dispatch-rider/publisher/configuration_support.rb
dispatch-rider-1.5.0 lib/dispatch-rider/publisher/configuration_support.rb
dispatch-rider-1.4.2 lib/dispatch-rider/publisher/configuration_support.rb
dispatch-rider-1.4.0 lib/dispatch-rider/publisher/configuration_support.rb