Sha256: ca5881f4251101b51689fcfe293506df6d10e14d44af56282d69e85493f8d918
Contents?: true
Size: 373 Bytes
Versions: 3
Compression:
Stored size: 373 Bytes
Contents
module Heracles module Wrapper HERACLES_BASE_URL = 'https://heracles.library.nd.edu'.freeze class Config attr_accessor :api_key def initialize yield(self) if block_given? end attr_writer :heracles_base_url def heracles_base_url @heracles_base_url || Heracles::Wrapper::HERACLES_BASE_URL end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
heracles-wrapper-0.0.3 | lib/heracles-wrapper/config.rb |
heracles-wrapper-0.0.2 | lib/heracles-wrapper/config.rb |
heracles-wrapper-0.0.1 | lib/heracles-wrapper/config.rb |