Sha256: 49940c7fdf41545d0abe71726dc37d6a0f5506389c2b265bfbe8689e74bdc60c
Contents?: true
Size: 632 Bytes
Versions: 9
Compression:
Stored size: 632 Bytes
Contents
module MelissaData module Config def self.included(base) base.extend(self) end # @!attribute web_smart_id # @return [String] web smart id to be used attr_accessor :web_smart_id # Configures web_smart_id and property_api_url # Usage example: # MelissaData.configure do |config| # config.web_smart_id = ENV['MELISSA_DATA_WEB_SMART_ID'] # end # # Alternate way: # MelissaData.web_smart_id = ENV['MELISSA_DATA_WEB_SMART_ID'] # # @param <api_key> [String] web smart id to use def configure yield self if block_given? end end end
Version data entries
9 entries across 9 versions & 1 rubygems