Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds warning #84

Closed
wants to merge 1 commit into from
Closed

adds warning #84

wants to merge 1 commit into from

Conversation

jasonfb
Copy link

@jasonfb jasonfb commented Nov 2, 2021

Note that even the README on 0.1.16 is confusing now, because the subdomain given to you does not work without adding /admin/api.php to the end of it

here, I've configured it globally using an all-caps global variable as the object is supposed to exist as a singleton.

ACTIVE_CAMPAIGN_CLIENT = ::ActiveCampaign::Client.new(
        api_endpoint: 'https://[YOUR ACTIVE CAMPAIGN DOMAIN]/admin/api.php', # e.g. 'https://yourendpoint.api-us1.com/admin/api.php'
        api_key: '[YOUR-API-KEY]') # e.g. 'a4e60a1ba200595d5cc37ede5732545184165e'

the gem works fine but the documentation is head-spinningly confusing, so much so that the barrier to entry for using this gem is unnecessarily high.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant