Class: RunKeeper::Profile

Inherits:
Base
  • Object
show all
Defined in:
lib/run_keeper/profile.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ Profile

Returns a new instance of Profile.



6
7
8
9
# File 'lib/run_keeper/profile.rb', line 6

def initialize attributes = {}
  super attributes
  self.username = profile
end

Instance Attribute Details

#athlete_typeObject

Returns the value of attribute athlete_type.



3
4
5
# File 'lib/run_keeper/profile.rb', line 3

def athlete_type
  @athlete_type
end

#birthdayObject

Returns the value of attribute birthday.



3
4
5
# File 'lib/run_keeper/profile.rb', line 3

def birthday
  @birthday
end

#eliteObject

Returns the value of attribute elite.



3
4
5
# File 'lib/run_keeper/profile.rb', line 3

def elite
  @elite
end

#genderObject

Returns the value of attribute gender.



3
4
5
# File 'lib/run_keeper/profile.rb', line 3

def gender
  @gender
end

#goalObject

Returns the value of attribute goal.



3
4
5
# File 'lib/run_keeper/profile.rb', line 3

def goal
  @goal
end

#large_pictureObject

Returns the value of attribute large_picture.



3
4
5
# File 'lib/run_keeper/profile.rb', line 3

def large_picture
  @large_picture
end

#locationObject

Returns the value of attribute location.



3
4
5
# File 'lib/run_keeper/profile.rb', line 3

def location
  @location
end

#medium_pictureObject

Returns the value of attribute medium_picture.



3
4
5
# File 'lib/run_keeper/profile.rb', line 3

def medium_picture
  @medium_picture
end

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/run_keeper/profile.rb', line 3

def name
  @name
end

#normal_pictureObject

Returns the value of attribute normal_picture.



3
4
5
# File 'lib/run_keeper/profile.rb', line 3

def normal_picture
  @normal_picture
end

#profileObject

Returns the value of attribute profile.



3
4
5
# File 'lib/run_keeper/profile.rb', line 3

def profile
  @profile
end

#small_pictureObject

Returns the value of attribute small_picture.



3
4
5
# File 'lib/run_keeper/profile.rb', line 3

def small_picture
  @small_picture
end

#useridObject

Returns the value of attribute userid.



3
4
5
# File 'lib/run_keeper/profile.rb', line 3

def userid
  @userid
end

#usernameObject

Returns the value of attribute username.



4
5
6
# File 'lib/run_keeper/profile.rb', line 4

def username
  @username
end