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)


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

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? (readonly)

Returns the value of attribute cache_control.

Returns:

  • (String, nil)


422
423
424
# File 'sig/types.rbs', line 422

def cache_control
  @cache_control
end

#content_encodingString? (readonly)

Returns the value of attribute content_encoding.

Returns:

  • (String, nil)


426
427
428
# File 'sig/types.rbs', line 426

def content_encoding
  @content_encoding
end

#content_languageString? (readonly)

Returns the value of attribute content_language.

Returns:

  • (String, nil)


425
426
427
# File 'sig/types.rbs', line 425

def content_language
  @content_language
end

#etagString? (readonly)

Returns the value of attribute etag.

Returns:

  • (String, nil)


420
421
422
# File 'sig/types.rbs', line 420

def etag
  @etag
end

#last_modifiedString? (readonly)

Returns the value of attribute last_modified.

Returns:

  • (String, nil)


421
422
423
# File 'sig/types.rbs', line 421

def last_modified
  @last_modified
end

#serverString? (readonly)

Returns the value of attribute server.

Returns:

  • (String, nil)


423
424
425
# File 'sig/types.rbs', line 423

def server
  @server
end

#x_powered_byString? (readonly)

Returns the value of attribute x_powered_by.

Returns:

  • (String, nil)


424
425
426
# File 'sig/types.rbs', line 424

def x_powered_by
  @x_powered_by
end