Class: Zendesk::User

Inherits:
Resource show all
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

Methods included from RestObject

included

Methods inherited from Resource

create, #load_data

Methods included from Properties

included

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_xmlObject

TODO:



17
18
# File 'lib/zendesk/user.rb', line 17

def to_xml
end