Method: Printful::Webhook#==

Defined in:
lib/printful_client/models/webhook.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



110
111
112
113
114
115
116
117
# File 'lib/printful_client/models/webhook.rb', line 110

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      type == o.type &&
      created == o.created &&
      retries == o.retries &&
      store == o.store
end