Class: Moov::Models::Operations::DisableWebhookRequest
- Inherits:
-
Object
- Object
- Moov::Models::Operations::DisableWebhookRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/operations/disablewebhook_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(webhook_id:, x_moov_version: nil) ⇒ DisableWebhookRequest
constructor
A new instance of DisableWebhookRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(webhook_id:, x_moov_version: nil) ⇒ DisableWebhookRequest
Returns a new instance of DisableWebhookRequest.
30 31 32 33 |
# File 'lib/moov/models/operations/disablewebhook_request.rb', line 30 def initialize(webhook_id:, x_moov_version: nil) @webhook_id = webhook_id @x_moov_version = x_moov_version end |
Instance Method Details
#==(other) ⇒ Object
36 37 38 39 40 41 |
# File 'lib/moov/models/operations/disablewebhook_request.rb', line 36 def ==(other) return false unless other.is_a? self.class return false unless @webhook_id == other.webhook_id return false unless @x_moov_version == other.x_moov_version true end |