Class: SkypeR::Object::User
- Inherits:
-
Object
- Object
- SkypeR::Object::User
- Defined in:
- lib/skyper/object.rb
Instance Attribute Summary collapse
-
#birthday ⇒ Object
Returns the value of attribute birthday.
-
#buddystatus ⇒ Object
Returns the value of attribute buddystatus.
-
#can_leave_vm ⇒ Object
Returns the value of attribute can_leave_vm.
-
#country ⇒ Object
Returns the value of attribute country.
-
#fullname ⇒ Object
Returns the value of attribute fullname.
-
#handle ⇒ Object
Returns the value of attribute handle.
-
#isauthorized ⇒ Object
Returns the value of attribute isauthorized.
-
#isblocked ⇒ Object
Returns the value of attribute isblocked.
-
#language ⇒ Object
Returns the value of attribute language.
-
#lastonlinetimestamp ⇒ Object
Returns the value of attribute lastonlinetimestamp.
-
#onlinestatus ⇒ Object
Returns the value of attribute onlinestatus.
-
#sex ⇒ Object
Returns the value of attribute sex.
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ User
constructor
A new instance of User.
Constructor Details
#initialize(args = {}) ⇒ User
Returns a new instance of User.
16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/skyper/object.rb', line 16 def initialize(args={}) @handle = args[:handle] if args[:handle] @fullname = args[:fullname] if args[:fullname] @birthday = args[:birthday] if args[:birthday] @sex = args[:sex] if args[:sex] @language = args[:language] if args[:language] @country = args[:country] if args[:country] @buddystatus = args[:buddystatus] if args[:buddystatus] @isauthorized = args[:isauthorized] if args[:isauthorized] @isblocked = args[:isblocked] if args[:isblocked] @onlinestatus = args[:onlinestatus] if args[:onlinestatus] @lastonlinetimestamp = args[:lastonlinetimestamp] if args[:lastonlinetimestamp] @can_leave_vm = args[:can_leave_vm] if args[:can_leave_vm] end |
Instance Attribute Details
#birthday ⇒ Object
Returns the value of attribute birthday.
15 16 17 |
# File 'lib/skyper/object.rb', line 15 def birthday @birthday end |
#buddystatus ⇒ Object
Returns the value of attribute buddystatus.
15 16 17 |
# File 'lib/skyper/object.rb', line 15 def buddystatus @buddystatus end |
#can_leave_vm ⇒ Object
Returns the value of attribute can_leave_vm.
15 16 17 |
# File 'lib/skyper/object.rb', line 15 def can_leave_vm @can_leave_vm end |
#country ⇒ Object
Returns the value of attribute country.
15 16 17 |
# File 'lib/skyper/object.rb', line 15 def country @country end |
#fullname ⇒ Object
Returns the value of attribute fullname.
15 16 17 |
# File 'lib/skyper/object.rb', line 15 def fullname @fullname end |
#handle ⇒ Object
Returns the value of attribute handle.
15 16 17 |
# File 'lib/skyper/object.rb', line 15 def handle @handle end |
#isauthorized ⇒ Object
Returns the value of attribute isauthorized.
15 16 17 |
# File 'lib/skyper/object.rb', line 15 def @isauthorized end |
#isblocked ⇒ Object
Returns the value of attribute isblocked.
15 16 17 |
# File 'lib/skyper/object.rb', line 15 def isblocked @isblocked end |
#language ⇒ Object
Returns the value of attribute language.
15 16 17 |
# File 'lib/skyper/object.rb', line 15 def language @language end |
#lastonlinetimestamp ⇒ Object
Returns the value of attribute lastonlinetimestamp.
15 16 17 |
# File 'lib/skyper/object.rb', line 15 def @lastonlinetimestamp end |
#onlinestatus ⇒ Object
Returns the value of attribute onlinestatus.
15 16 17 |
# File 'lib/skyper/object.rb', line 15 def onlinestatus @onlinestatus end |
#sex ⇒ Object
Returns the value of attribute sex.
15 16 17 |
# File 'lib/skyper/object.rb', line 15 def sex @sex end |