lib/mailerlite/configuration.rb in mailerlite-1.10.0 vs lib/mailerlite/configuration.rb in mailerlite-1.11.0
- old
+ new
@@ -7,10 +7,10 @@
API_ENDPOINT = 'https://api.mailerlite.com/api/v2'
# Default User Agent header string.
USER_AGENT = "MailerLite Ruby v#{MailerLite::VERSION}"
- attr_accessor :api_key
+ attr_accessor :api_key, :timeout
attr_writer :url, :user_agent
# Takes url provided from configuration or uses default one.
#
# @return [String] An API Endpoint url which will be used for connection.