Spree Hubspot extension for Spree commerce.
Last updated on: June 16 at 08:44 PM
source code bug tracker gem 'spree_hubspot', github: 'nwb/spree_hubspot'
bash$ bundle install
SMTP
SpreeHubspot::Config.user_name = ""
SpreeHubspot::Config.password = ""
SpreeHubspot::Config.address = "smtp.hubapi.com"
SpreeHubspot::Config.port = 587
API
SpreeHubspot::Config.hapikey = ""
Config
SpreeHubspot::Config.uk_rma_email_id = 1234
SpreeHubspot::Config.uk_password_reset_email_id = 1234
SpreeHubspot::Config.uk_subscription_recieved_email_id = 1234
SpreeHubspot::Config.uk_subscription_reactivated_email_id = 1234
SpreeHubspot::Config.uk_subscription_order_reminder_email_id = 1234
SpreeHubspot::Config.uk_subscription_out_of_stock_email_id = 1234
SpreeHubspot::Config.uk_subscription_generic_issue_email_id = 1234
SpreeHubspot::Config.uk_subscription_credit_card_expired_email_id = 1234
SpreeHubspot::Config.uk_subscription_canceled_email_id = 1234
SpreeHubspot::Config.aus_rma_email_id = 1234
SpreeHubspot::Config.aus_password_reset_email_id = 1234
SpreeHubspot::Config.aus_subscription_recieved_email_id = 1234
SpreeHubspot::Config.aus_subscription_reactivated_email_id = 1234
SpreeHubspot::Config.aus_subscription_order_reminder_email_id = 1234
SpreeHubspot::Config.aus_subscription_out_of_stock_email_id = 1234
SpreeHubspot::Config.aus_subscription_generic_issue_email_id = 1234
SpreeHubspot::Config.aus_subscription_credit_card_expired_email_id = 1234
SpreeHubspot::Config.aus_subscription_canceled_email_id = 1234
SpreeHubspot::Config.eu_rma_email_id = 1234
SpreeHubspot::Config.eu_password_reset_email_id = 1234
SpreeHubspot::Config.eu_subscription_recieved_email_id = 1234
SpreeHubspot::Config.eu_subscription_reactivated_email_id = 1234
SpreeHubspot::Config.eu_subscription_order_reminder_email_id = 1234
SpreeHubspot::Config.eu_subscription_out_of_stock_email_id = 1234
SpreeHubspot::Config.eu_subscription_generic_issue_email_id = 1234
SpreeHubspot::Config.eu_subscription_credit_card_expired_email_id = 1234
SpreeHubspot::Config.eu_subscription_canceled_email_id = 1234
First bundle your dependencies, then run rake
. rake
will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using rake test_app
.
bash$ bundle
bash$ bundle exec rake
When testing your applications integration with this extension you may use it's factories. Simply add this require statement to your spec_helper:
require 'spree_hubspot/factories'
tags | spree versions |
---|---|
master |