lib/rails/generators/intercom/config/config_generator.rb in intercom-rails-0.2.4 vs lib/rails/generators/intercom/config/config_generator.rb in intercom-rails-0.2.5
- old
+ new
@@ -5,11 +5,11 @@
def self.source_root
File.dirname(__FILE__)
end
argument :app_id, :desc => "Your Intercom app-id, which can be found here: https://www.intercom.io/apps/api_keys"
- argument :api_secret, :desc => "Your Intercom api-secret, used for secure mode"
- argument :api_key, :desc => "An Intercom API key, for various rake tasks"
+ 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
def create_config_file
@app_id = app_id
@api_secret = api_secret
@api_key = api_key