Class: OpenApiSDK::Models::Operations::CreateReferralsEmbedTokenResponseBody
- Inherits:
-
Object
- Object
- OpenApiSDK::Models::Operations::CreateReferralsEmbedTokenResponseBody
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/open_api_sdk/models/operations/createreferralsembedtoken_responsebody.rb
Overview
The created public embed token.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(public_token:, expires:) ⇒ CreateReferralsEmbedTokenResponseBody
constructor
A new instance of CreateReferralsEmbedTokenResponseBody.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(public_token:, expires:) ⇒ CreateReferralsEmbedTokenResponseBody
Returns a new instance of CreateReferralsEmbedTokenResponseBody.
21 22 23 24 |
# File 'lib/open_api_sdk/models/operations/createreferralsembedtoken_responsebody.rb', line 21 def initialize(public_token:, expires:) @public_token = public_token @expires = expires end |
Instance Method Details
#==(other) ⇒ Object
27 28 29 30 31 32 |
# File 'lib/open_api_sdk/models/operations/createreferralsembedtoken_responsebody.rb', line 27 def ==(other) return false unless other.is_a? self.class return false unless @public_token == other.public_token return false unless @expires == other.expires true end |