lib/landable/configuration.rb in landable-1.9.2 vs lib/landable/configuration.rb in landable-1.10.0.rc1

- old
+ new

@@ -7,10 +7,11 @@ attr_writer :screenshots_enabled attr_writer :traffic_enabled attr_writer :sitemap_exclude_categories, :sitemap_protocol, :sitemap_host, :sitemap_additional_paths attr_writer :reserved_paths, :partials_to_templates, :database_schema_prefix attr_writer :publicist_url, :audit_flags + attr_writer :blank_user_agent_string def authenticators @authenticators || raise("No Landable authenticator configured.") end @@ -136,9 +137,13 @@ end end def screenshots @screenshots ||= Screenshots.new + end + + def blank_user_agent_string + @blank_user_agent_string ||= 'blank' end class Screenshots attr_accessor :autorun attr_accessor :browserstack_username, :browserstack_password