class AteTracks::Structures::User
Attributes
avatar_urls[RW]
bio[RW]
bio_html[RW]
country[RW]
id[RW]
location[RW]
login[RW]
member_since[RW]
path[RW]
web_path[RW]
website[RW]
Public Class Methods
new(data)
click to toggle source
# File lib/atetracks/structures.rb, line 164 def initialize(data) return nil if data.nil? @id = data['id'] @login = data['login'] @path = data['path'] @web_path = data['web_path'] @avatar_urls = AvatarURLs.new(data['avatar_urls']) @location = data['location'] @bio_html = data['bio_html'] @website = data['website'] @country = data['country'] @member_since = data['member_since'] @bio = data['bio'] end