Class: Crawlberg::ResponseMeta

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeResponseMeta

Returns a new instance of ResponseMeta.

Parameters:

  • etag: (String)
  • last_modified: (String)
  • cache_control: (String)
  • server: (String)
  • x_powered_by: (String)
  • content_language: (String)
  • content_encoding: (String)


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

def initialize: (?etag: String, ?last_modified: String, ?cache_control: String, ?server: String, ?x_powered_by: String, ?content_language: String, ?content_encoding: String) -> void

Instance Attribute Details

#cache_controlString?

Returns the value of attribute cache_control.

Returns:

  • (String, nil)


350
351
352
# File 'sig/types.rbs', line 350

def cache_control
  @cache_control
end

#content_encodingString?

Returns the value of attribute content_encoding.

Returns:

  • (String, nil)


354
355
356
# File 'sig/types.rbs', line 354

def content_encoding
  @content_encoding
end

#content_languageString?

Returns the value of attribute content_language.

Returns:

  • (String, nil)


353
354
355
# File 'sig/types.rbs', line 353

def content_language
  @content_language
end

#etagString?

Returns the value of attribute etag.

Returns:

  • (String, nil)


348
349
350
# File 'sig/types.rbs', line 348

def etag
  @etag
end

#last_modifiedString?

Returns the value of attribute last_modified.

Returns:

  • (String, nil)


349
350
351
# File 'sig/types.rbs', line 349

def last_modified
  @last_modified
end

#serverString?

Returns the value of attribute server.

Returns:

  • (String, nil)


351
352
353
# File 'sig/types.rbs', line 351

def server
  @server
end

#x_powered_byString?

Returns the value of attribute x_powered_by.

Returns:

  • (String, nil)


352
353
354
# File 'sig/types.rbs', line 352

def x_powered_by
  @x_powered_by
end