Sha256: 8760077f8cfd0f5e406111f500fa55a559fecbf9d1ec96b9bc065da1d023d601
Contents?: true
Size: 1.37 KB
Versions: 2
Compression:
Stored size: 1.37 KB
Contents
require 'zendesk_api/resources/forum' module ZendeskAPI class CRMData < DataResource; end class CRMDataStatus < DataResource; end class CustomRole < DataResource; end class GroupMembership < Resource has :user has :group end class User < Resource class Identity < Resource put :make_primary put :verify put :request_verification end def initialize(*) super # Needed for side-loading to work self.role_id = role.id if self.key?(:role) end has :organization has :custom_role, :include => :roles has :role, :inline => true, :include_key => :name has :ability, :inline => true has_many :identities has_many :requests has_many :requested_tickets, :class => :ticket, :path => 'tickets/requested' has_many :ccd_tickets, :class => :ticket, :path => 'tickets/ccd' has_many :groups has_many :group_memberships has_many :topics has_many :forum_subscriptions, :class => "forum_subscription" has_many :topic_subscriptions, :class => "topic_subscription" has_many :topic_comments, :class => "topic/topic_comment" has_many :topic_votes, :class => "topic/vote" has :crm_data has :crm_data_status, :path => 'crm_data/status' end class Organization < Resource has :ability, :inline => true has :group has_many :tickets has_many :users end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
zendesk_api-0.1.7 | lib/zendesk_api/resources/user.rb |
zendesk_api-0.1.6 | lib/zendesk_api/resources/user.rb |