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