Class: Dickburt::User

Inherits:
Map
  • Object
show all
Includes:
Logger
Defined in:
lib/dickburt/user.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Logger

#logger

Constructor Details

#initialize(json, campfire) ⇒ User

Returns a new instance of User.



5
6
7
8
# File 'lib/dickburt/user.rb', line 5

def initialize(json, campfire)
  super(JSON.parse(json))
  @campfire = campfire
end

Instance Attribute Details

#campfireObject

Returns the value of attribute campfire.



3
4
5
# File 'lib/dickburt/user.rb', line 3

def campfire
  @campfire
end