Sha256: f2aa7dac5adf0a610f8fc55a57c09d053c360626f030498e46b5824137c614b2
Contents?: true
Size: 487 Bytes
Versions: 12
Compression:
Stored size: 487 Bytes
Contents
# frozen_string_literal: true require 'active_support' require 'active_support/core_ext' class DHS::Record # A provider can define options used for that specific provider module Provider extend ActiveSupport::Concern included do class_attribute :provider_options unless defined? provider_options self.provider_options = nil end module ClassMethods def provider(options = nil) self.provider_options = options end end end end
Version data entries
12 entries across 12 versions & 1 rubygems