Sha256: b28c9044c04791983314eb5d0cea38fad5076794349e74a43b4717cedbeb0192
Contents?: true
Size: 427 Bytes
Versions: 2
Compression:
Stored size: 427 Bytes
Contents
module Rumour class Configuration CONFIGURABLE_ATTRIBUTES = [ :api_key, :access_token, :intercept_text_message_recipient, :intercept_push_notification_recipients ] attr_accessor *CONFIGURABLE_ATTRIBUTES def initialize # Nothing to do end end def self.configuration @configuration ||= Configuration.new end def self.configure yield configuration end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rumour-ruby-0.1.0 | lib/rumour-ruby/configuration.rb |
rumour-ruby-0.0.8 | lib/rumour-ruby/configuration.rb |