Module: ZendeskAPI
- Defined in:
- lib/zendesk/zendesk-api.rb
Defined Under Namespace
Classes: Base, Error, Search, Ticket, User
Class Method Summary
collapse
Class Method Details
.authenticate(account, username, password) ⇒ Object
10
11
12
13
14
15
16
|
# File 'lib/zendesk/zendesk-api.rb', line 10
def authenticate(account, username, password)
@username = username
@password = password
self::Base.user = username
self::Base.password = password
self::Base.site = "https://#{account}.zendesk.com/api/v1/"
end
|
.resources ⇒ Object
18
19
20
|
# File 'lib/zendesk/zendesk-api.rb', line 18
def resources
@resources ||= []
end
|