Class: GustoEmbedded::Models::Operations::SystemAccessTokenRequest
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Operations::SystemAccessTokenRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/operations/system_access_token_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(client_id:, client_secret:, grant_type:) ⇒ SystemAccessTokenRequest
constructor
A new instance of SystemAccessTokenRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(client_id:, client_secret:, grant_type:) ⇒ SystemAccessTokenRequest
Returns a new instance of SystemAccessTokenRequest.
23 24 25 26 27 |
# File 'lib/gusto_embedded/models/operations/system_access_token_request.rb', line 23 def initialize(client_id:, client_secret:, grant_type:) @client_id = client_id @client_secret = client_secret @grant_type = grant_type end |
Instance Method Details
#==(other) ⇒ Object
30 31 32 33 34 35 36 |
# File 'lib/gusto_embedded/models/operations/system_access_token_request.rb', line 30 def ==(other) return false unless other.is_a? self.class return false unless @client_id == other.client_id return false unless @client_secret == other.client_secret return false unless @grant_type == other.grant_type true end |