lib/ahoy.rb in ahoy_matey-1.2.2 vs lib/ahoy.rb in ahoy_matey-1.3.0

- old
+ new

@@ -60,9 +60,24 @@ self.quiet = true mattr_accessor :geocode self.geocode = true + mattr_accessor :max_content_length + self.max_content_length = 8192 + + mattr_accessor :max_events_per_request + self.max_events_per_request = 10 + + mattr_accessor :throttle + self.throttle = true + + mattr_accessor :throttle_limit + self.throttle_limit = 20 + + mattr_accessor :throttle_period + self.throttle_period = 1.minute + def self.ensure_uuid(id) valid = UUIDTools::UUID.parse(id) rescue nil if valid id else