.env.sample in ruby_hubspot_api-0.3.2 vs .env.sample in ruby_hubspot_api-0.3.3
- old
+ new
@@ -6,35 +6,27 @@
export HUBSPOT_ACCESS_TOKEN=your_private_app_access_token
export HUBSPOT_CLIENT_SECRET=your_client_secret
export HUBSPOT_PORTAL_ID=portal_id
+export HUBSPOT_NO_AUTH_ACCESS_TOKEN=your_private_app_access_token_with_no_scopes
+
# VCR configuration
# record mode can be none, once, newepisodes or all (default none)
# see https://andrewmcodes.gitbook.io/vcr/record_modes
-export VCR_RECORD_MODE=once
+
+# export VCR_RECORD_MODE=once # (default)
+# export VCR_RECORD_MODE=all # always record http requests (overwrites)
+
# to allow new request set to true
export VCR_ALLOW_REQUESTS=false
-# Used in specs....
-# The values of the following are the defaults if the env var is not set
+# SPECS:
+# the following can be used when running the specs
-# Company id used to test find and update (should be real)
-export HUBSPOT_TEST_COMPANY_ID=1
+export HUBSPOT_LOG_LEVEL=FATAL # no output during testing (default)
+# export HUBSPOT_LOG_LEVEL=WARN # will show exceptions and batch load wait message
+# export HUBSPOT_LOG_LEVEL=INFO # adds api request descriptions
+# export HUBSPOT_LOG_LEVEL=DEBUG # adds api request body and full response (lots of output!)
-# Company name to test create company
-export HUBSPOT_TEST_COMPANY_NAME="Numenor Capital"
-
-# Company id to test deleting (hint: make a dummy one first!)
-export HUBSPOT_TEST_COMPANY_ID_DELETE=666
-
-# Contact if to test find and update
-export HUBSPOT_TEST_CONTACT_ID=1
-
-# domain name to test the search by email contains
-export HUBSPOT_SEARCH_TEST_DOMAIN=hubspot.com
-
-# maximum number of records to fetch when testing lists
-export HUBSPOT_SEARCH_LIMIT=5
-
-# email address for search on email = <email>
-export HUBSPOT_TEST_CONTACT_EMAIL=test@hubspot.com
+# How long to wait after a batch is created (for propagation)
+export HUBSPOT_BATCH_WAIT=0