Class: Dickburt::User
Instance Attribute Summary collapse
-
#campfire ⇒ Object
Returns the value of attribute campfire.
Instance Method Summary collapse
-
#initialize(json, campfire) ⇒ User
constructor
A new instance of User.
Methods included from 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
#campfire ⇒ Object
Returns the value of attribute campfire.
3 4 5 |
# File 'lib/dickburt/user.rb', line 3 def campfire @campfire end |