Method: Fastly::RateLimiter#==

Defined in:
lib/fastly/models/rate_limiter.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
# File 'lib/fastly/models/rate_limiter.rb', line 390

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      name == o.name &&
      uri_dictionary_name == o.uri_dictionary_name &&
      http_methods == o.http_methods &&
      rps_limit == o.rps_limit &&
      window_size == o.window_size &&
      client_key == o.client_key &&
      penalty_box_duration == o.penalty_box_duration &&
      action == o.action &&
      response == o.response &&
      response_object_name == o.response_object_name &&
      logger_type == o.logger_type &&
      feature_revision == o.feature_revision
end