Class: Moov::Models::Operations::GetCapabilityRequest
- Inherits:
-
Object
- Object
- Moov::Models::Operations::GetCapabilityRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/operations/getcapability_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(account_id:, capability_id:, x_moov_version: 'v2024.01.00') ⇒ GetCapabilityRequest
constructor
A new instance of GetCapabilityRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(account_id:, capability_id:, x_moov_version: 'v2024.01.00') ⇒ GetCapabilityRequest
Returns a new instance of GetCapabilityRequest.
34 35 36 37 38 |
# File 'lib/moov/models/operations/getcapability_request.rb', line 34 def initialize(account_id:, capability_id:, x_moov_version: 'v2024.01.00') @account_id = account_id @capability_id = capability_id @x_moov_version = x_moov_version end |
Instance Method Details
#==(other) ⇒ Object
41 42 43 44 45 46 47 |
# File 'lib/moov/models/operations/getcapability_request.rb', line 41 def ==(other) return false unless other.is_a? self.class return false unless @account_id == other.account_id return false unless @capability_id == other.capability_id return false unless @x_moov_version == other.x_moov_version true end |