Sha256: a961f429628cb138f0dfb463b45a689074e57b1f704aa21cdc3f697cf2df8a4c
Contents?: true
Size: 607 Bytes
Versions: 15
Compression:
Stored size: 607 Bytes
Contents
module Tr3llo class Configuration def initialize @container = Container.new end def user_id=(value) container.register(:user_id, value) end def user_id container.resolve(:user_id) end def api_key=(value) container.register(:api_key, value) end def api_key container.resolve(:api_key) end def api_token=(token) container.register(:api_token, token) end def api_token container.resolve(:api_token) end def finalize! container.freeze end private attr_reader :container end end
Version data entries
15 entries across 15 versions & 1 rubygems