lib/replay_api/configuration.rb in replay_api-0.0.3 vs lib/replay_api/configuration.rb in replay_api-0.0.5
- old
+ new
@@ -10,13 +10,17 @@
class Configuration
attr_accessor :replay_key
attr_accessor :replay_server
attr_accessor :ssl
+ attr_accessor :max_request_batch_size
+ attr_accessor :max_request_batch_delay
def initialize
@replay_server = 'api.replay.io'
@ssl = true
+ @max_request_batch_size = 100
+ @max_request_batch_delay = 1
end
alias_method :ssl?, :ssl
def extend_event_properties(&block)