Class: FastpixApiSDK::Models::Components::Segment1
- Inherits:
-
Object
- Object
- FastpixApiSDK::Models::Components::Segment1
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/fastpix_api_sdk/models/components/segment_1.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(url:, insert_at:) ⇒ Segment1
constructor
A new instance of Segment1.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(url:, insert_at:) ⇒ Segment1
Returns a new instance of Segment1.
22 23 24 25 |
# File 'lib/fastpix_api_sdk/models/components/segment_1.rb', line 22 def initialize(url:, insert_at:) @url = url @insert_at = insert_at end |
Instance Method Details
#==(other) ⇒ Object
28 29 30 31 32 33 |
# File 'lib/fastpix_api_sdk/models/components/segment_1.rb', line 28 def ==(other) return false unless other.is_a? self.class return false unless @url == other.url return false unless @insert_at == other.insert_at true end |