Class: Superset::Dataset::List
- Defined in:
- lib/superset/dataset/list.rb
Constant Summary
Constants inherited from Request
Instance Attribute Summary collapse
-
#database_id_eq ⇒ Object
readonly
Returns the value of attribute database_id_eq.
-
#schema_equals ⇒ Object
readonly
Returns the value of attribute schema_equals.
-
#title_contains ⇒ Object
readonly
Returns the value of attribute title_contains.
-
#title_equals ⇒ Object
readonly
Returns the value of attribute title_equals.
Attributes inherited from Request
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(page_num: 0, title_contains: '', title_equals: '', schema_equals: '', database_id_eq: '') ⇒ List
constructor
A new instance of List.
Methods inherited from Request
#query_params, #response, #result, #superset_host
Methods included from Superset::Display
#display_headers, #headings, #list, #result, #rows, #table, #title
Constructor Details
#initialize(page_num: 0, title_contains: '', title_equals: '', schema_equals: '', database_id_eq: '') ⇒ List
Returns a new instance of List.
6 7 8 9 10 11 12 |
# File 'lib/superset/dataset/list.rb', line 6 def initialize(page_num: 0, title_contains: '', title_equals: '', schema_equals: '', database_id_eq: '') @title_contains = title_contains @title_equals = title_equals @schema_equals = schema_equals @database_id_eq = database_id_eq super(page_num: page_num) end |
Instance Attribute Details
#database_id_eq ⇒ Object (readonly)
Returns the value of attribute database_id_eq.
4 5 6 |
# File 'lib/superset/dataset/list.rb', line 4 def database_id_eq @database_id_eq end |
#schema_equals ⇒ Object (readonly)
Returns the value of attribute schema_equals.
4 5 6 |
# File 'lib/superset/dataset/list.rb', line 4 def schema_equals @schema_equals end |
#title_contains ⇒ Object (readonly)
Returns the value of attribute title_contains.
4 5 6 |
# File 'lib/superset/dataset/list.rb', line 4 def title_contains @title_contains end |
#title_equals ⇒ Object (readonly)
Returns the value of attribute title_equals.
4 5 6 |
# File 'lib/superset/dataset/list.rb', line 4 def title_equals @title_equals end |
Class Method Details
.call ⇒ Object
14 15 16 |
# File 'lib/superset/dataset/list.rb', line 14 def self.call self.new.list end |