Module: Notee::Configuration
- Included in:
- Notee
- Defined in:
- lib/notee/configuration.rb
Constant Summary collapse
- VALID_OPTIONS_KEY =
[ :notee_id, :notee_password ].freeze
- DEFAULT_NOTEE_ID =
nil
- DEFAULT_NOTEE_PASSWORD =
nil
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.extended(base) ⇒ Object
18 19 20 |
# File 'lib/notee/configuration.rb', line 18 def self.extended(base) base.reset end |
Instance Method Details
#configure {|_self| ... } ⇒ Object
14 15 16 |
# File 'lib/notee/configuration.rb', line 14 def configure yield self end |
#reset ⇒ Object
22 23 24 25 |
# File 'lib/notee/configuration.rb', line 22 def reset self.notee_id = DEFAULT_NOTEE_ID self.notee_password = DEFAULT_NOTEE_PASSWORD end |