Class: GoogleAPI::Base
- Inherits:
-
Object
- Object
- GoogleAPI::Base
- Includes:
- Authorization
- Defined in:
- lib/google_api/base.rb,
lib/google_api/base/authorization.rb
Defined Under Namespace
Modules: Authorization
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(auth: true) ⇒ Base
constructor
A new instance of Base.
Methods included from Authorization
Constructor Details
#initialize(auth: true) ⇒ Base
Returns a new instance of Base.
17 18 19 |
# File 'lib/google_api/base.rb', line 17 def initialize(auth: true) if auth end |
Class Method Details
.root_path ⇒ Object
10 11 12 |
# File 'lib/google_api/base.rb', line 10 def self.root_path defined?(Rails) ? Rails.root : File.dirname(__dir__) end |