Class: UncleKryon::SocialData
- Inherits:
-
Object
- Object
- UncleKryon::SocialData
- Defined in:
- lib/unclekryon/data/social_data.rb
Instance Attribute Summary collapse
-
#url ⇒ Object
Returns the value of attribute url.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize ⇒ SocialData
constructor
A new instance of SocialData.
Constructor Details
#initialize ⇒ SocialData
Returns a new instance of SocialData.
20 21 22 23 24 25 |
# File 'lib/unclekryon/data/social_data.rb', line 20 def initialize super() @username = '' @url = '' end |
Instance Attribute Details
#url ⇒ Object
Returns the value of attribute url.
18 19 20 |
# File 'lib/unclekryon/data/social_data.rb', line 18 def url @url end |
#username ⇒ Object
Returns the value of attribute username.
17 18 19 |
# File 'lib/unclekryon/data/social_data.rb', line 17 def username @username end |