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)


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

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)


341
342
343
# File 'sig/types.rbs', line 341

def cache_control
  @cache_control
end

#content_encodingString?

Returns the value of attribute content_encoding.

Returns:

  • (String, nil)


345
346
347
# File 'sig/types.rbs', line 345

def content_encoding
  @content_encoding
end

#content_languageString?

Returns the value of attribute content_language.

Returns:

  • (String, nil)


344
345
346
# File 'sig/types.rbs', line 344

def content_language
  @content_language
end

#etagString?

Returns the value of attribute etag.

Returns:

  • (String, nil)


339
340
341
# File 'sig/types.rbs', line 339

def etag
  @etag
end

#last_modifiedString?

Returns the value of attribute last_modified.

Returns:

  • (String, nil)


340
341
342
# File 'sig/types.rbs', line 340

def last_modified
  @last_modified
end

#serverString?

Returns the value of attribute server.

Returns:

  • (String, nil)


342
343
344
# File 'sig/types.rbs', line 342

def server
  @server
end

#x_powered_byString?

Returns the value of attribute x_powered_by.

Returns:

  • (String, nil)


343
344
345
# File 'sig/types.rbs', line 343

def x_powered_by
  @x_powered_by
end