Sha256: 43f83cc6e022de61063b0d4c6e27d51383d9d06e0964ab22b3e94659566a3c98
Contents?: true
Size: 409 Bytes
Versions: 4
Compression:
Stored size: 409 Bytes
Contents
module Aggcat module Configurable attr_writer :issuer_id, :consumer_key, :consumer_secret, :certificate_path KEYS = [:issuer_id, :consumer_key, :consumer_secret, :certificate_path] 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
aggcat-0.0.4 | lib/aggcat/configurable.rb |
aggcat-0.0.3 | lib/aggcat/configurable.rb |
aggcat-0.0.2 | lib/aggcat/configurable.rb |
aggcat-0.0.1 | lib/aggcat/configurable.rb |