Sha256: 66097511c47f22bff7c8a7c51df00f2adbcb73f39a468601a3559958aa42a523
Contents?: true
Size: 437 Bytes
Versions: 15
Compression:
Stored size: 437 Bytes
Contents
module Aggcat module Configurable attr_writer :issuer_id, :consumer_key, :consumer_secret, :certificate_path, :customer_id KEYS = [:issuer_id, :consumer_key, :consumer_secret, :certificate_path, :customer_id] def configure yield self self end private def options Aggcat::Configurable::KEYS.inject({}) { |hash, key| hash[key] = instance_variable_get(:"@#{key}"); hash } end end end
Version data entries
15 entries across 15 versions & 1 rubygems