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

fix: ConsumerContractBuilder exposing incorrect field #185

Conversation

marcotc
Copy link
Contributor

@marcotc marcotc commented Feb 7, 2019

I believe ConsumerContractBuilder is trying to expose attr_reader :consumer_contract, but it's incorrectly setting that value to @consumer_contract_details instead. @consumer_contract_details is never used outside of this class.

This PR populates @consumer_contract instead of @consumer_contract_details.

@marcotc marcotc force-pushed the fix/ConsumerContractBuilder-name-fix branch from e0000db to c805c3e Compare February 7, 2019 00:08
@bethesque
Copy link
Member

Sorry this has taken me so long. I think the attribute reader has the wrong name and should be : consumer_contract_details. It should probably also be private.

@YOU54F
Copy link
Member

YOU54F commented Aug 6, 2024

I assume the correct fix would be to rename the accessor, but considering it should be private, we should just remove it from the accessor

@YOU54F
Copy link
Member

YOU54F commented Aug 6, 2024

updated in #313. thanks

@YOU54F YOU54F closed this Aug 6, 2024
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