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

Sandbox URLs are not inherited in Rails 4.2 #15

Open
armchairdj opened this issue Oct 11, 2016 · 0 comments
Open

Sandbox URLs are not inherited in Rails 4.2 #15

armchairdj opened this issue Oct 11, 2016 · 0 comments

Comments

@armchairdj
Copy link

When configuring Rebay::Api in an initializer in a Rails 4.2 app, the sandbox boolean is not inherited by Rebay::Finding or Rebay::Shopping.

Workaround:

Rebay::Api.configure do |rebay|
rebay.app_id = "whatever"
rebay.sandbox = true
end

Rebay::Finding.configure do |rebay|
rebay.sandbox = true
end

Rebay::Shopping.configure do |rebay|
rebay.sandbox = true
end

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

No branches or pull requests

1 participant