class Sc20XX::Models::User
stores information on the current user we are looking at
Public Class Methods
new(hash)
click to toggle source
# File lib/sc20XX/models/user.rb, line 5 def initialize(hash) @hash = hash end
Public Instance Methods
id()
click to toggle source
# File lib/sc20XX/models/user.rb, line 9 def id @hash['id'] end
permalink()
click to toggle source
# File lib/sc20XX/models/user.rb, line 21 def permalink @hash['permalink'] end
uri()
click to toggle source
# File lib/sc20XX/models/user.rb, line 17 def uri @hash['uri'] end
username()
click to toggle source
# File lib/sc20XX/models/user.rb, line 13 def username @hash['username'] end