Class: GcloudStorage::Configuration
- Inherits:
-
Object
- Object
- GcloudStorage::Configuration
- Defined in:
- lib/gcloud_storage/configuration.rb
Instance Attribute Summary collapse
-
#credentials ⇒ Object
Returns the value of attribute credentials.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 10 11 12 |
# File 'lib/gcloud_storage/configuration.rb', line 5 def initialize @credentials = { project_id: "", bucket_name: "", key_file: nil, compute_instance: nil } end |
Instance Attribute Details
#credentials ⇒ Object
Returns the value of attribute credentials.
3 4 5 |
# File 'lib/gcloud_storage/configuration.rb', line 3 def credentials @credentials end |