Class: Stripe::EventReasonRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/stripe/thin_event.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#idObject (readonly)

Returns the value of attribute id.



5
6
7
# File 'lib/stripe/thin_event.rb', line 5

def id
  @id
end

#idempotency_keyObject (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