Class: Pago::Models::Enums::Unions::Errors::Webhooks::Services::HTTP::Request
- Inherits:
-
Object
- Object
- Pago::Models::Enums::Unions::Errors::Webhooks::Services::HTTP::Request
- Defined in:
- sig/pago.rbs
Instance Attribute Summary collapse
-
#body ⇒ String?
Returns the value of attribute body.
-
#headers ⇒ Hash[String, String]
Returns the value of attribute headers.
-
#http_method ⇒ String
Returns the value of attribute http_method.
-
#url ⇒ String
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize ⇒ Request
constructor
A new instance of Request.
Constructor Details
#initialize ⇒ Request
Returns a new instance of Request.
142 |
# File 'sig/pago.rbs', line 142
def initialize: (?http_method: String, ?url: String, ?headers: Hash[String, String], ?body: String?) -> void
|
Instance Attribute Details
#body ⇒ String?
Returns the value of attribute body.
140 141 142 |
# File 'sig/pago.rbs', line 140 def body @body end |
#headers ⇒ Hash[String, String]
Returns the value of attribute headers.
139 140 141 |
# File 'sig/pago.rbs', line 139 def headers @headers end |
#http_method ⇒ String
Returns the value of attribute http_method.
137 138 139 |
# File 'sig/pago.rbs', line 137 def http_method @http_method end |
#url ⇒ String
Returns the value of attribute url.
138 139 140 |
# File 'sig/pago.rbs', line 138 def url @url end |