Class: FastpixClient::Models::Components::Custom2

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/fastpix_client/models/components/custom_2.rb

Overview

User defined metadata. Only accessible once it is enabled in the organization settings.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(custom: nil) ⇒ Custom2

Returns a new instance of Custom2.



20
21
22
# File 'lib/fastpix_client/models/components/custom_2.rb', line 20

def initialize(custom: nil)
  @custom = custom
end

Instance Method Details

#==(other) ⇒ Object



25
26
27
28
29
# File 'lib/fastpix_client/models/components/custom_2.rb', line 25

def ==(other)
  return false unless other.is_a? self.class
  return false unless @custom == other.custom
  true
end