Class: NRB::Untappd::Config

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/drink-socially/config.rb

Defined Under Namespace

Classes: NoConfig

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#dataObject (readonly)

Returns the value of attribute data.



11
12
13
# File 'lib/drink-socially/config.rb', line 11

def data
  @data
end