lib/rails/generators/intercom/config/config_generator.rb in intercom-rails-0.2.31 vs lib/rails/generators/intercom/config/config_generator.rb in intercom-rails-0.2.33

- old
+ new

@@ -7,15 +7,17 @@ end argument :app_id, :desc => "Your Intercom app-id, which can be found here: https://app.intercom.io/apps/api_keys" argument :api_secret, :desc => "Your Intercom api-secret, used for secure mode", :optional => true argument :api_key, :desc => "An Intercom API key, for various rake tasks", :optional => true + argument :session_duration, :desc => "user session duration, this should match your app", :optional => true FALSEY_RESPONSES = ['n', 'no'] def create_config_file @app_id = app_id @api_secret = api_secret @api_key = api_key + @session_duration = session_duration @include_for_logged_out_users = false introduction = <<-desc Intercom will automatically insert its javascript before the closing '</body>' tag on every page where it can find a logged-in user. Intercom by default