Class: SkypeR::Object::Profile

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args = {}) ⇒ Profile

Returns a new instance of Profile.



34
35
36
37
38
39
40
41
# File 'lib/skyper/object.rb', line 34

def initialize(args={})
  @pstn_balance = args[:pstn_balance] if args[:pstn_balance]
  @fullname = args[:fullname] if args[:fullname]
  @birthday = args[:birthday] if args[:birthday]
  @sex = args[:sex] if args[:sex]
  @languages = args[:languages] if args[:languages]
  @timezone =  args[:timezone] if args[:timezone]
end

Instance Attribute Details

#birthdayObject

Returns the value of attribute birthday.



33
34
35
# File 'lib/skyper/object.rb', line 33

def birthday
  @birthday
end

#fullnameObject

Returns the value of attribute fullname.



33
34
35
# File 'lib/skyper/object.rb', line 33

def fullname
  @fullname
end

#languagesObject

Returns the value of attribute languages.



33
34
35
# File 'lib/skyper/object.rb', line 33

def languages
  @languages
end

#pstn_balanceObject

Returns the value of attribute pstn_balance.



33
34
35
# File 'lib/skyper/object.rb', line 33

def pstn_balance
  @pstn_balance
end

#sexObject

Returns the value of attribute sex.



33
34
35
# File 'lib/skyper/object.rb', line 33

def sex
  @sex
end

#timezoneObject

Returns the value of attribute timezone.



33
34
35
# File 'lib/skyper/object.rb', line 33

def timezone
  @timezone
end