Class: FastpixClient::Models::Components::DrmIdResponse
- Inherits:
-
Object
- Object
- FastpixClient::Models::Components::DrmIdResponse
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/fastpix_client/models/components/drmidresponse.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(id: nil) ⇒ DrmIdResponse
constructor
A new instance of DrmIdResponse.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(id: nil) ⇒ DrmIdResponse
Returns a new instance of DrmIdResponse.
19 20 21 |
# File 'lib/fastpix_client/models/components/drmidresponse.rb', line 19 def initialize(id: nil) @id = id end |
Instance Method Details
#==(other) ⇒ Object
24 25 26 27 28 |
# File 'lib/fastpix_client/models/components/drmidresponse.rb', line 24 def ==(other) return false unless other.is_a? self.class return false unless @id == other.id true end |