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

Use Autoload #381

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Use Autoload #381

wants to merge 1 commit into from

Conversation

plribeiro3000
Copy link
Member

I've started this to change usage of require to autoload but i did find some stuff that worried me so i've also fixed the LOCATION Constant.
I would like to ask you guys why are you using plain constants and methods out of the Fog::AzureRM namespace?
This would give clashing issues to the end user if he defines methods or Constants with the same names. We need to move everything to the Fog::AzureRm namespace.
Since there is a ton of changes, i will send the rest in another PR once this one gets merged.

@location || 'eastus'.freeze
end

def self.location=(location)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use attr_writer to define trivial writer methods.

@plribeiro3000
Copy link
Member Author

@maham-nazir-confiz Could you please take a look at this PR please? Thanks!

@plribeiro3000
Copy link
Member Author

cc/ @bilal-naeem-confiz

@maham-nazir-confiz
Copy link
Contributor

@plribeiro3000
I'll review and get back to you on this.

Regards

@plribeiro3000
Copy link
Member Author

@maham-nazir-confiz Any chance to review this PR?

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.

3 participants