Class: Clerk::Models::Operations::RevertTemplateRequest
- Inherits:
-
Object
- Object
- Clerk::Models::Operations::RevertTemplateRequest
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/clerk/models/operations/reverttemplate_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(template_type:, slug:) ⇒ RevertTemplateRequest
constructor
A new instance of RevertTemplateRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(template_type:, slug:) ⇒ RevertTemplateRequest
Returns a new instance of RevertTemplateRequest.
21 22 23 24 |
# File 'lib/clerk/models/operations/reverttemplate_request.rb', line 21 def initialize(template_type:, slug:) @template_type = template_type @slug = slug end |
Instance Method Details
#==(other) ⇒ Object
27 28 29 30 31 32 |
# File 'lib/clerk/models/operations/reverttemplate_request.rb', line 27 def ==(other) return false unless other.is_a? self.class return false unless @template_type == other.template_type return false unless @slug == other.slug true end |