Class: Flydata::Api::RedshiftCluster
- Defined in:
- lib/flydata/api/redshift_cluster.rb
Instance Method Summary collapse
-
#initialize(api_client) ⇒ RedshiftCluster
constructor
A new instance of RedshiftCluster.
- #show_default ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(api_client) ⇒ RedshiftCluster
Returns a new instance of RedshiftCluster.
6 7 8 9 10 |
# File 'lib/flydata/api/redshift_cluster.rb', line 6 def initialize(api_client) @model_name = 'redshift_cluster' @url_path = "/#{@model_name.pluralize}" super end |
Instance Method Details
#show_default ⇒ Object
12 13 14 15 16 |
# File 'lib/flydata/api/redshift_cluster.rb', line 12 def show_default # currently one user has one redshift_cluster url_path = "#{@url_path}/show_default?password_required=1" @client.get(url_path) end |