Class: SkypeR::Object::Profile
- Inherits:
-
Object
- Object
- SkypeR::Object::Profile
- Defined in:
- lib/skyper/object.rb
Instance Attribute Summary collapse
-
#birthday ⇒ Object
Returns the value of attribute birthday.
-
#fullname ⇒ Object
Returns the value of attribute fullname.
-
#languages ⇒ Object
Returns the value of attribute languages.
-
#pstn_balance ⇒ Object
Returns the value of attribute pstn_balance.
-
#sex ⇒ Object
Returns the value of attribute sex.
-
#timezone ⇒ Object
Returns the value of attribute timezone.
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ Profile
constructor
A new instance of Profile.
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
#birthday ⇒ Object
Returns the value of attribute birthday.
33 34 35 |
# File 'lib/skyper/object.rb', line 33 def birthday @birthday end |
#fullname ⇒ Object
Returns the value of attribute fullname.
33 34 35 |
# File 'lib/skyper/object.rb', line 33 def fullname @fullname end |
#languages ⇒ Object
Returns the value of attribute languages.
33 34 35 |
# File 'lib/skyper/object.rb', line 33 def languages @languages end |
#pstn_balance ⇒ Object
Returns the value of attribute pstn_balance.
33 34 35 |
# File 'lib/skyper/object.rb', line 33 def pstn_balance @pstn_balance end |
#sex ⇒ Object
Returns the value of attribute sex.
33 34 35 |
# File 'lib/skyper/object.rb', line 33 def sex @sex end |
#timezone ⇒ Object
Returns the value of attribute timezone.
33 34 35 |
# File 'lib/skyper/object.rb', line 33 def timezone @timezone end |