Sha256: b85e7a24e1f0b34ccde9356a9362fc67b42a43c6006925dea2573547a5a12212
Contents?: true
Size: 446 Bytes
Versions: 3
Compression:
Stored size: 446 Bytes
Contents
module Webhookr::Services::Adapter::Base extend ActiveSupport::Concern included do self.initialize! if self.respond_to?(:initialize!) Webhookr.adapters[self::SERVICE_NAME] = self end module ClassMethods def config if Webhookr.config[self::SERVICE_NAME] Webhookr.config[self::SERVICE_NAME] else Webhookr.config[self::SERVICE_NAME] = ActiveSupport::OrderedOptions.new end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
webhookr-0.2.0 | lib/webhookr/services/adapter/base.rb |
webhookr-0.1.0 | lib/webhookr/services/adapter/base.rb |
webhookr-0.0.2 | lib/webhookr/services/adapter/base.rb |