Class: Tuiter::User
Instance Attribute Summary collapse
-
#status ⇒ Object
Returns the value of attribute status.
Attributes inherited from UserBasic
#description, #followers_count, #id, #location, #name, #profile_image_url, #protected, #screen_name, #url
Instance Method Summary collapse
-
#initialize(data = nil) ⇒ User
constructor
A new instance of User.
Constructor Details
#initialize(data = nil) ⇒ User
Returns a new instance of User.
75 76 77 78 79 80 |
# File 'lib/tuiter/data/user.rb', line 75 def initialize(data=nil) unless data.nil? super(data) @status = StatusBasic.new(data["status"]) end end |
Instance Attribute Details
#status ⇒ Object
Returns the value of attribute status.
73 74 75 |
# File 'lib/tuiter/data/user.rb', line 73 def status @status end |