Class: PostProxy::WebhookDelivery
Instance Attribute Summary collapse
-
#attempt_number ⇒ Object
Returns the value of attribute attempt_number.
-
#attempted_at ⇒ Object
Returns the value of attribute attempted_at.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#event_id ⇒ Object
Returns the value of attribute event_id.
-
#event_type ⇒ Object
Returns the value of attribute event_type.
-
#id ⇒ Object
Returns the value of attribute id.
-
#response_status ⇒ Object
Returns the value of attribute response_status.
-
#success ⇒ Object
Returns the value of attribute success.
Instance Method Summary collapse
-
#initialize(**attrs) ⇒ WebhookDelivery
constructor
A new instance of WebhookDelivery.
Methods inherited from Model
Constructor Details
#initialize(**attrs) ⇒ WebhookDelivery
Returns a new instance of WebhookDelivery.
165 166 167 168 169 170 |
# File 'lib/postproxy/types.rb', line 165 def initialize(**attrs) @response_status = nil super @attempted_at = parse_time(@attempted_at) @created_at = parse_time(@created_at) end |
Instance Attribute Details
#attempt_number ⇒ Object
Returns the value of attribute attempt_number.
162 163 164 |
# File 'lib/postproxy/types.rb', line 162 def attempt_number @attempt_number end |
#attempted_at ⇒ Object
Returns the value of attribute attempted_at.
162 163 164 |
# File 'lib/postproxy/types.rb', line 162 def attempted_at @attempted_at end |
#created_at ⇒ Object
Returns the value of attribute created_at.
162 163 164 |
# File 'lib/postproxy/types.rb', line 162 def created_at @created_at end |
#event_id ⇒ Object
Returns the value of attribute event_id.
162 163 164 |
# File 'lib/postproxy/types.rb', line 162 def event_id @event_id end |
#event_type ⇒ Object
Returns the value of attribute event_type.
162 163 164 |
# File 'lib/postproxy/types.rb', line 162 def event_type @event_type end |
#id ⇒ Object
Returns the value of attribute id.
162 163 164 |
# File 'lib/postproxy/types.rb', line 162 def id @id end |
#response_status ⇒ Object
Returns the value of attribute response_status.
162 163 164 |
# File 'lib/postproxy/types.rb', line 162 def response_status @response_status end |
#success ⇒ Object
Returns the value of attribute success.
162 163 164 |
# File 'lib/postproxy/types.rb', line 162 def success @success end |