Class: Stripe::EventReasonRequest
- Inherits:
-
Object
- Object
- Stripe::EventReasonRequest
- Defined in:
- lib/stripe/thin_event.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#idempotency_key ⇒ Object
readonly
Returns the value of attribute idempotency_key.
Instance Method Summary collapse
-
#initialize(event_reason_request_payload = {}) ⇒ EventReasonRequest
constructor
A new instance of EventReasonRequest.
Constructor Details
#initialize(event_reason_request_payload = {}) ⇒ EventReasonRequest
Returns a new instance of EventReasonRequest.
7 8 9 10 |
# File 'lib/stripe/thin_event.rb', line 7 def initialize(event_reason_request_payload = {}) @id = event_reason_request_payload[:id] @idempotency_key = event_reason_request_payload[:idempotency_key] end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
5 6 7 |
# File 'lib/stripe/thin_event.rb', line 5 def id @id end |
#idempotency_key ⇒ Object (readonly)
Returns the value of attribute idempotency_key.
5 6 7 |
# File 'lib/stripe/thin_event.rb', line 5 def idempotency_key @idempotency_key end |