Class: NRB::Untappd::Config
- Inherits:
-
Object
- Object
- NRB::Untappd::Config
- Extended by:
- Forwardable
- Defined in:
- lib/drink-socially/config.rb
Defined Under Namespace
Classes: NoConfig
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(args) ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize(args) ⇒ Config
Returns a new instance of Config.
15 16 17 18 |
# File 'lib/drink-socially/config.rb', line 15 def initialize(args) load_data(args) define_accessors end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
11 12 13 |
# File 'lib/drink-socially/config.rb', line 11 def data @data end |