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

fix module namespacing for exception classes #66

Merged
merged 1 commit into from Aug 5, 2011
Merged

fix module namespacing for exception classes #66

merged 1 commit into from Aug 5, 2011

Conversation

huned
Copy link
Contributor

@huned huned commented Aug 5, 2011

The autoload in lib/linkedin.rb expects the error classes to be defined under the LinkedIn::Errors namespace. Yet, they weren't. As a result, LinkedIn::Helpers::Request.raise_errors would raise a "NameError: uninitalized constant ..." instead of raising the real error.

All specs still pass after this commit.

joshk added a commit that referenced this pull request Aug 5, 2011
fix module namespacing for exception classes
@joshk joshk merged commit 081da65 into hexgnu:master Aug 5, 2011
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

2 participants