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

cannot require oneview-sdk because the code is using non-require'd code #263

Closed
tmiotto opened this issue Aug 31, 2017 · 0 comments
Closed

Comments

@tmiotto
Copy link
Contributor

tmiotto commented Aug 31, 2017

Scenario/Intent

I'm trying to use require oneview-sdk, however, I can't because a class is using a module that was not required.

Environment Details

  • OneView SDK Version: 5.0.1
  • Ruby Version: 2.2.6p0
  • Platform: Ubuntu 14.05.1 (Vagrant)

Steps to Reproduce

Simply require the gem oneview-sdk.

Expected Result

it should import and work properly.

Actual Result

It fails miserably:

Failure/Error: require 'oneview-sdk'

NameError:
  uninitialized constant OneviewSDK::API300::C7000::Scope
# /home/vagrant/.rvm/gems/ruby-2.2.6/gems/oneview-sdk-5.0.1/lib/oneview-sdk/resource/api300/synergy/fc_network.rb:19:in `<class:FCNetwork>'
@tmiotto tmiotto changed the title cannot require oneview-sdk because the code is using non require'd code cannot require oneview-sdk because the code is using non-require'd code Aug 31, 2017
@tmiotto tmiotto mentioned this issue Aug 31, 2017
5 tasks
tmiotto pushed a commit that referenced this issue Aug 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant