Class: Superset::Tag::List

Inherits:
Request
  • Object
show all
Defined in:
lib/superset/tag/list.rb

Constant Summary

Constants inherited from Request

Request::PAGE_SIZE

Instance Attribute Summary collapse

Attributes inherited from Request

#page_num

Class Method Summary collapse

Instance Method Summary collapse

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_containsObject (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_equalsObject (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

.callObject



12
13
14
# File 'lib/superset/tag/list.rb', line 12

def self.call
  self.new.list
end