Sha256: 118afa9f1cc857cd86b000eaae3447b09529cc1413c53dbf3dcc2f7ef668125c
Contents?: true
Size: 493 Bytes
Versions: 5
Compression:
Stored size: 493 Bytes
Contents
module Nazrin module Searchable class Configuration attr_accessor :domain_name %i( search_endpoint document_endpoint region access_key_id secret_access_key logger ).each do |attr| class_eval <<-CODE, __FILE__, __LINE__ + 1 def #{attr} @#{attr} || Nazrin.config.#{attr} end def #{attr}=(v) @#{attr} = v end CODE end end end end
Version data entries
5 entries across 5 versions & 1 rubygems