Class: Office365::REST::Client
- Includes:
- API
- Defined in:
- lib/office365/rest/client.rb
Constant Summary
Constants included from Event
Event::BASE_URI, Event::CALENDARVIEW_URL
Instance Attribute Summary collapse
-
#bearer_token ⇒ Object
Returns the value of attribute bearer_token.
Attributes inherited from Client
#access_token, #client_id, #client_secret, #debug, #redirect_uri, #refresh_token, #tenant_id
Instance Method Summary collapse
Methods included from Subscription
#create_subscription, #renew_subscription
Methods included from Token
#authorize_url, #refresh_token!, #token_url
Methods included from Contact
Methods included from Event
Methods included from Calendar
Methods included from Mailbox
Methods included from User
Methods inherited from Client
#credentials, #initialize, #user_token?
Constructor Details
This class inherits a constructor from Office365::Client
Instance Attribute Details
#bearer_token ⇒ Object
Returns the value of attribute bearer_token.
14 15 16 |
# File 'lib/office365/rest/client.rb', line 14 def bearer_token @bearer_token end |
Instance Method Details
#bearer_token? ⇒ Boolean
17 18 19 |
# File 'lib/office365/rest/client.rb', line 17 def bearer_token? !!bearer_token end |
#credentials? ⇒ Boolean
22 23 24 |
# File 'lib/office365/rest/client.rb', line 22 def credentials? super || bearer_token? end |