Class: GoogleAPI::Base
- Inherits:
-
Object
- Object
- GoogleAPI::Base
- Includes:
- Concerns::Base::Authorization
- Defined in:
- lib/google_api/base.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(auth: true) ⇒ Base
constructor
A new instance of Base.
Methods included from Concerns::Base::Authorization
Constructor Details
#initialize(auth: true) ⇒ Base
Returns a new instance of Base.
7 8 9 |
# File 'lib/google_api/base.rb', line 7 def initialize(auth: true) self. if auth end |
Class Method Details
.root_path ⇒ Object
11 12 13 |
# File 'lib/google_api/base.rb', line 11 def self.root_path defined?(Rails) ? Rails.root : './' end |