Class: Spikard::BackgroundJobMetadata

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBackgroundJobMetadata

Returns a new instance of BackgroundJobMetadata.

Parameters:

  • name: (String)
  • request_id: (String)


94
# File 'sig/types.rbs', line 94

def initialize: (?name: String, ?request_id: String) -> void

Instance Attribute Details

#nameString?

Returns the value of attribute name.

Returns:

  • (String, nil)


91
92
93
# File 'sig/types.rbs', line 91

def name
  @name
end

#request_idString?

Returns the value of attribute request_id.

Returns:

  • (String, nil)


92
93
94
# File 'sig/types.rbs', line 92

def request_id
  @request_id
end

Class Method Details

.defaultBackgroundJobMetadata



95
# File 'sig/types.rbs', line 95

def self.default: () -> BackgroundJobMetadata