Class: Gcloud::Cli::Config
- Inherits:
-
Struct
- Object
- Struct
- Gcloud::Cli::Config
- Defined in:
- lib/gcloud/cli/config.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key
2 3 4 |
# File 'lib/gcloud/cli/config.rb', line 2 def api_key @api_key end |
#url ⇒ Object
Returns the value of attribute url
2 3 4 |
# File 'lib/gcloud/cli/config.rb', line 2 def url @url end |
Instance Method Details
#create_cluster_url ⇒ Object
3 4 5 |
# File 'lib/gcloud/cli/config.rb', line 3 def create_cluster_url "#{url}/clusters" end |
#release_cluster_url(cluster_id) ⇒ Object
7 8 9 |
# File 'lib/gcloud/cli/config.rb', line 7 def release_cluster_url(cluster_id) "#{url}/clusters/#{cluster_id}/release" end |