Class: OAuth2::ThingFilter

Inherits:
Object
  • Object
show all
Defined in:
sig/oauth2/thing_filter.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeThingFilter

Returns a new instance of ThingFilter.

Parameters:

  • things (Enumerable[untyped])
  • label: (String)


6
# File 'sig/oauth2/thing_filter.rbs', line 6

def initialize: (Enumerable[untyped] things, label: String) -> void

Instance Attribute Details

#labelString (readonly)

Returns the value of attribute label.

Returns:

  • (String)


4
5
6
# File 'sig/oauth2/thing_filter.rbs', line 4

def label
  @label
end

#thingsArray[String] (readonly)

Returns the value of attribute things.

Returns:

  • (Array[String])


3
4
5
# File 'sig/oauth2/thing_filter.rbs', line 3

def things
  @things
end

Instance Method Details

#filtered?Boolean

Parameters:

  • thing_name (Object)

Returns:

  • (Boolean)


7
# File 'sig/oauth2/thing_filter.rbs', line 7

def filtered?: (untyped thing_name) -> bool

#pattern_sourceString

Returns:

  • (String)


8
# File 'sig/oauth2/thing_filter.rbs', line 8

def pattern_source: () -> String