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