Class: SkypeR::Object::User

Inherits:
Object
  • Object
show all
Defined in:
lib/skyper/object.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#birthdayObject

Returns the value of attribute birthday.



15
16
17
# File 'lib/skyper/object.rb', line 15

def birthday
  @birthday
end

#buddystatusObject

Returns the value of attribute buddystatus.



15
16
17
# File 'lib/skyper/object.rb', line 15

def buddystatus
  @buddystatus
end

#can_leave_vmObject

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

#countryObject

Returns the value of attribute country.



15
16
17
# File 'lib/skyper/object.rb', line 15

def country
  @country
end

#fullnameObject

Returns the value of attribute fullname.



15
16
17
# File 'lib/skyper/object.rb', line 15

def fullname
  @fullname
end

#handleObject

Returns the value of attribute handle.



15
16
17
# File 'lib/skyper/object.rb', line 15

def handle
  @handle
end

#isauthorizedObject

Returns the value of attribute isauthorized.



15
16
17
# File 'lib/skyper/object.rb', line 15

def isauthorized
  @isauthorized
end

#isblockedObject

Returns the value of attribute isblocked.



15
16
17
# File 'lib/skyper/object.rb', line 15

def isblocked
  @isblocked
end

#languageObject

Returns the value of attribute language.



15
16
17
# File 'lib/skyper/object.rb', line 15

def language
  @language
end

#lastonlinetimestampObject

Returns the value of attribute lastonlinetimestamp.



15
16
17
# File 'lib/skyper/object.rb', line 15

def lastonlinetimestamp
  @lastonlinetimestamp
end

#onlinestatusObject

Returns the value of attribute onlinestatus.



15
16
17
# File 'lib/skyper/object.rb', line 15

def onlinestatus
  @onlinestatus
end

#sexObject

Returns the value of attribute sex.



15
16
17
# File 'lib/skyper/object.rb', line 15

def sex
  @sex
end