Class: GoogleCells::Configuration
- Inherits:
-
Object
- Object
- GoogleCells::Configuration
- Defined in:
- lib/google_cells.rb
Instance Attribute Summary collapse
-
#client_id ⇒ Object
Returns the value of attribute client_id.
-
#client_secret ⇒ Object
Returns the value of attribute client_secret.
-
#key_file ⇒ Object
Returns the value of attribute key_file.
-
#key_secret ⇒ Object
Returns the value of attribute key_secret.
-
#path_to_credentials_file ⇒ Object
Returns the value of attribute path_to_credentials_file.
-
#service_account_email ⇒ Object
Returns the value of attribute service_account_email.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
49 50 51 52 53 54 |
# File 'lib/google_cells.rb', line 49 def initialize @key_secret = 'notasecret' @api_version = 'v2' @cached_api_file = "drive-#{@api_version}.cache" end |
Instance Attribute Details
#client_id ⇒ Object
Returns the value of attribute client_id.
46 47 48 |
# File 'lib/google_cells.rb', line 46 def client_id @client_id end |
#client_secret ⇒ Object
Returns the value of attribute client_secret.
46 47 48 |
# File 'lib/google_cells.rb', line 46 def client_secret @client_secret end |
#key_file ⇒ Object
Returns the value of attribute key_file.
46 47 48 |
# File 'lib/google_cells.rb', line 46 def key_file @key_file end |
#key_secret ⇒ Object
Returns the value of attribute key_secret.
46 47 48 |
# File 'lib/google_cells.rb', line 46 def key_secret @key_secret end |
#path_to_credentials_file ⇒ Object
Returns the value of attribute path_to_credentials_file.
46 47 48 |
# File 'lib/google_cells.rb', line 46 def path_to_credentials_file @path_to_credentials_file end |
#service_account_email ⇒ Object
Returns the value of attribute service_account_email.
46 47 48 |
# File 'lib/google_cells.rb', line 46 def service_account_email @service_account_email end |