Class: Zendesk::RemoteAuth
- Inherits:
-
Object
- Object
- Zendesk::RemoteAuth
- Defined in:
- lib/zendesk_remote_auth.rb
Overview
Handles storing the token and auth_url (endpoint) for the Zendesk side.
Class Attribute Summary collapse
Class Attribute Details
.auth_url ⇒ Object
20 21 22 23 |
# File 'lib/zendesk_remote_auth.rb', line 20 def auth_url raise ArgumentError.new('Zendesk auth_url must be set. Set with Zendesk::RemoteAuth.auth_url = <url>') unless @auth_url @auth_url end |
.token ⇒ Object
15 16 17 18 |
# File 'lib/zendesk_remote_auth.rb', line 15 def token raise ArgumentError.new('Zendesk token must be set. Set with Zendesk::RemoteAuth.token = <token>') unless @token @token end |