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