Class: GoogleAPI::Base

Inherits:
Object
  • Object
show all
Includes:
Authorization
Defined in:
lib/google_api/base.rb,
lib/google_api/base/authorization.rb

Direct Known Subclasses

Calendar, Group

Defined Under Namespace

Modules: Authorization

Instance Method Summary collapse

Methods included from Authorization

#authorize!

Constructor Details

#initialize(auth: true) ⇒ Base

Returns a new instance of Base.



14
15
16
# File 'lib/google_api/base.rb', line 14

def initialize(auth: true)
  authorize! if auth
end