Class: Superset::Database::GetSchemas
- Defined in:
- lib/superset/database/get_schemas.rb
Constant Summary
Constants inherited from Request
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Attributes inherited from Request
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id) ⇒ GetSchemas
constructor
A new instance of GetSchemas.
Methods inherited from Request
#query_params, #response, #result, #superset_host
Methods included from Superset::Display
#display_headers, #headings, #list_attributes, #result, #rows, #table, #title
Constructor Details
#initialize(id) ⇒ GetSchemas
Returns a new instance of GetSchemas.
10 11 12 |
# File 'lib/superset/database/get_schemas.rb', line 10 def initialize(id) @id = id end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
8 9 10 |
# File 'lib/superset/database/get_schemas.rb', line 8 def id @id end |
Class Method Details
.call(id) ⇒ Object
14 15 16 |
# File 'lib/superset/database/get_schemas.rb', line 14 def self.call(id) self.new(id).schemas end |