-
Notifications
You must be signed in to change notification settings - Fork 160
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
Field specified more than once #113
Comments
same issue here for attribution_spec. looks like |
dug a bit more. it seems that the following line is converting the symbol to string. def define_writer(name)
define_method("#{name}=") do |val|
changes[name] = val
@__all_fields.add(name.to_s) <---
end
end |
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. |
👋 Any update on this issue? Examples |
This issue persists. As @ericzou pointed out, the problem lies in the define_writter method session = FacebookAds::Session.new(access_token: 'token', app_secret: 'secret')
facebook_ad_campaign = FacebookAds::Campaign.get('id', session)
facebook_ad_campaign.daily_budget
facebook_ad_campaign.daily_budget = 100
facebook_ad_campaign.save When executing At some point, the library includes both versions of ![]() |
Which SDK version are you using?
0.8.0.0
What's the issue?
Many different operations lead to an object with some kind of messed up state.
Steps/Sample code to reproduce the issue
Observed Results:
Expected Results:
I expect to see
"ACTIVE"
.Any idea what I'm doing wrong?
The text was updated successfully, but these errors were encountered: