Class: RunKeeper::Profile
Instance Attribute Summary collapse
-
#athlete_type ⇒ Object
Returns the value of attribute athlete_type.
-
#birthday ⇒ Object
Returns the value of attribute birthday.
-
#elite ⇒ Object
Returns the value of attribute elite.
-
#gender ⇒ Object
Returns the value of attribute gender.
-
#goal ⇒ Object
Returns the value of attribute goal.
-
#large_picture ⇒ Object
Returns the value of attribute large_picture.
-
#location ⇒ Object
Returns the value of attribute location.
-
#medium_picture ⇒ Object
Returns the value of attribute medium_picture.
-
#name ⇒ Object
Returns the value of attribute name.
-
#normal_picture ⇒ Object
Returns the value of attribute normal_picture.
-
#profile ⇒ Object
Returns the value of attribute profile.
-
#small_picture ⇒ Object
Returns the value of attribute small_picture.
-
#userid ⇒ Object
Returns the value of attribute userid.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Profile
constructor
A new instance of Profile.
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_type ⇒ Object
Returns the value of attribute athlete_type.
3 4 5 |
# File 'lib/run_keeper/profile.rb', line 3 def athlete_type @athlete_type end |
#birthday ⇒ Object
Returns the value of attribute birthday.
3 4 5 |
# File 'lib/run_keeper/profile.rb', line 3 def birthday @birthday end |
#elite ⇒ Object
Returns the value of attribute elite.
3 4 5 |
# File 'lib/run_keeper/profile.rb', line 3 def elite @elite end |
#gender ⇒ Object
Returns the value of attribute gender.
3 4 5 |
# File 'lib/run_keeper/profile.rb', line 3 def gender @gender end |
#goal ⇒ Object
Returns the value of attribute goal.
3 4 5 |
# File 'lib/run_keeper/profile.rb', line 3 def goal @goal end |
#large_picture ⇒ Object
Returns the value of attribute large_picture.
3 4 5 |
# File 'lib/run_keeper/profile.rb', line 3 def large_picture @large_picture end |
#location ⇒ Object
Returns the value of attribute location.
3 4 5 |
# File 'lib/run_keeper/profile.rb', line 3 def location @location end |
#medium_picture ⇒ Object
Returns the value of attribute medium_picture.
3 4 5 |
# File 'lib/run_keeper/profile.rb', line 3 def medium_picture @medium_picture end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/run_keeper/profile.rb', line 3 def name @name end |
#normal_picture ⇒ Object
Returns the value of attribute normal_picture.
3 4 5 |
# File 'lib/run_keeper/profile.rb', line 3 def normal_picture @normal_picture end |
#profile ⇒ Object
Returns the value of attribute profile.
3 4 5 |
# File 'lib/run_keeper/profile.rb', line 3 def profile @profile end |
#small_picture ⇒ Object
Returns the value of attribute small_picture.
3 4 5 |
# File 'lib/run_keeper/profile.rb', line 3 def small_picture @small_picture end |
#userid ⇒ Object
Returns the value of attribute userid.
3 4 5 |
# File 'lib/run_keeper/profile.rb', line 3 def userid @userid end |
#username ⇒ Object
Returns the value of attribute username.
4 5 6 |
# File 'lib/run_keeper/profile.rb', line 4 def username @username end |