Class: Stripe::Forwarding::Request::RequestDetails
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Forwarding::Request::RequestDetails
- Defined in:
- lib/stripe/resources/forwarding/request.rb
Defined Under Namespace
Classes: Header
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
The body payload to send to the destination endpoint.
-
#headers ⇒ Object
readonly
The headers to include in the forwarded request.
-
#http_method ⇒ Object
readonly
The HTTP method used to call the destination endpoint.
Attributes inherited from StripeObject
Class Method Summary collapse
Methods inherited from StripeObject
#==, #[], #[]=, #_get_inner_class_type, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values
Constructor Details
This class inherits a constructor from Stripe::StripeObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject
Instance Attribute Details
#body ⇒ Object (readonly)
The body payload to send to the destination endpoint.
62 63 64 |
# File 'lib/stripe/resources/forwarding/request.rb', line 62 def body @body end |
#headers ⇒ Object (readonly)
The headers to include in the forwarded request. Can be omitted if no additional headers (excluding Stripe-generated ones such as the Content-Type header) should be included.
64 65 66 |
# File 'lib/stripe/resources/forwarding/request.rb', line 64 def headers @headers end |
#http_method ⇒ Object (readonly)
The HTTP method used to call the destination endpoint.
66 67 68 |
# File 'lib/stripe/resources/forwarding/request.rb', line 66 def http_method @http_method end |
Class Method Details
.field_remappings ⇒ Object
72 73 74 |
# File 'lib/stripe/resources/forwarding/request.rb', line 72 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
68 69 70 |
# File 'lib/stripe/resources/forwarding/request.rb', line 68 def self.inner_class_types @inner_class_types = { headers: Header } end |