Class: Yt::Models::Account
Overview
Provides methods to access a YouTube account.
Direct Known Subclasses
Instance Method Summary collapse
- #auth ⇒ Object
-
#initialize(options = {}) ⇒ Account
constructor
A new instance of Account.
Methods included from Associations
Constructor Details
#initialize(options = {}) ⇒ Account
Returns a new instance of Account.
11 12 13 14 15 16 17 18 |
# File 'lib/yt/models/account.rb', line 11 def initialize( = {}) @access_token = [:access_token] @refresh_token = [:refresh_token] @expires_at = [:expires_at] @authorization_code = [:authorization_code] @redirect_uri = [:redirect_uri] @scopes = [:scopes] end |
Instance Method Details
#auth ⇒ Object
20 21 22 |
# File 'lib/yt/models/account.rb', line 20 def auth self end |