facebook / facebook-ruby-business-sdk

Ruby SDK for Meta Marketing API
https://developers.facebook.com/docs/business-sdk
Other
210 stars 160 forks source link

IDName class is not autoloaded #7

Closed lookitsatravis closed 4 years ago

lookitsatravis commented 7 years ago

Hello!

Looks like there is some code to autoload all of the classes in facebook_ads/ad_objects/*. However, the class_name var set at line #69 does not work for the FacebookAds::IDName class because the capitalize transform matches IdName instead. We solved it locally by requiring that file directly:

require 'facebook_ads/ad_objects/id_name'

But, without that require statement, anything that references IDName fails.

stale[bot] commented 4 years ago

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 4 years ago

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.