Skip to content
This repository was archived by the owner on Jan 21, 2025. It is now read-only.

Remove cents_to_dollar method - #51

Open
camelmasa wants to merge 2 commits into
degica:masterfrom
camelmasa:unnecessary-code
Open

Remove cents_to_dollar method#51
camelmasa wants to merge 2 commits into
degica:masterfrom
camelmasa:unnecessary-code

Conversation

@camelmasa

Copy link
Copy Markdown
Contributor

The credit method's third argument is not Hash for gateway options.
Currency is nil everytime now.

That's "Hash" but included Refund instance.
https://github.com/spree/spree/blob/master/core/app/models/spree/refund.rb#L58-L60

The `credit` method's third argument is not Hash for gateway options.
Currency is nil everytime now.

That's "Hash" but included Refund instance.
https://github.com/spree/spree/blob/master/core/app/models/spree/refund.rb#L58-L60
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant