Class: Pago::Models::Enums::Unions::Errors::Webhooks::Services::HTTP::Request

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeRequest

Returns a new instance of Request.

Parameters:

  • http_method: (String)
  • url: (String)
  • headers: (Hash[String, String])
  • body: (String, nil)


142
# File 'sig/pago.rbs', line 142

def initialize: (?http_method: String, ?url: String, ?headers: Hash[String, String], ?body: String?) -> void

Instance Attribute Details

#bodyString?

Returns the value of attribute body.

Returns:

  • (String, nil)


140
141
142
# File 'sig/pago.rbs', line 140

def body
  @body
end

#headersHash[String, String]

Returns the value of attribute headers.

Returns:

  • (Hash[String, String])


139
140
141
# File 'sig/pago.rbs', line 139

def headers
  @headers
end

#http_methodString

Returns the value of attribute http_method.

Returns:

  • (String)


137
138
139
# File 'sig/pago.rbs', line 137

def http_method
  @http_method
end

#urlString

Returns the value of attribute url.

Returns:

  • (String)


138
139
140
# File 'sig/pago.rbs', line 138

def url
  @url
end