Sha256: 0ed9a4089f2425d50b9f937612b648b227a5363c7d5c05918ecc3a26e7257d90
Contents?: true
Size: 426 Bytes
Versions: 2
Compression:
Stored size: 426 Bytes
Contents
module Rumour class Configuration CONFIGURABLE_ATTRIBUTES = [ :api_key, :access_token, :intercept_text_message_recipient, :intercept_push_notification_recipient ] 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.0.7 | lib/rumour-ruby/configuration.rb |
rumour-ruby-0.0.6 | lib/rumour-ruby/configuration.rb |