Class: Zendesk::User
- Includes:
- RestObject
- Defined in:
- lib/zendesk/user.rb
Constant Summary
Constants included from Constants
Constants::PRIORITY, Constants::RESTRICTION, Constants::ROLE, Constants::STATUS, Constants::TICKET_TYPE, Constants::VIA
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ User
constructor
A new instance of User.
-
#to_xml ⇒ Object
TODO:.
Methods included from RestObject
Methods inherited from Resource
Methods included from Properties
Constructor Details
#initialize(attrs = {}) ⇒ User
Returns a new instance of User.
10 11 12 13 |
# File 'lib/zendesk/user.rb', line 10 def initialize(attrs = {}) @email = attrs[:email] || attrs['email'] super end |
Instance Method Details
#to_xml ⇒ Object
TODO:
17 18 |
# File 'lib/zendesk/user.rb', line 17 def to_xml end |