Class: Superset::Security::User::List

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

Constant Summary

Constants inherited from Request

Request::PAGE_SIZE

Instance Attribute Summary collapse

Attributes inherited from Request

#page_num

Instance Method Summary collapse

Methods inherited from Request

call, #query_params, #response, #result, #superset_host

Methods included from Display

#display_headers, #headings, #list, #result, #rows, #table

Constructor Details

#initialize(page_num: 0, email_contains: '', username_equals: '') ⇒ List

Returns a new instance of List.



7
8
9
10
11
# File 'lib/superset/security/user/list.rb', line 7

def initialize(page_num: 0, email_contains: '', username_equals: '')
  @email_contains = email_contains
  @username_equals = username_equals
  super(page_num: page_num)
end

Instance Attribute Details

#email_containsObject (readonly)

Returns the value of attribute email_contains.



5
6
7
# File 'lib/superset/security/user/list.rb', line 5

def email_contains
  @email_contains
end

#username_equalsObject (readonly)

Returns the value of attribute username_equals.



5
6
7
# File 'lib/superset/security/user/list.rb', line 5

def username_equals
  @username_equals
end