Skip to content

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