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

Convert price to string in format_price #37

Open
dankimio opened this issue Jan 16, 2019 · 0 comments
Open

Convert price to string in format_price #37

dankimio opened this issue Jan 16, 2019 · 0 comments

Comments

@dankimio
Copy link

dankimio commented Jan 16, 2019

To avoid NoMethodError (undefined method 'include?' for 3350.0:Float).

The documentation declares both price and paidPrice as Decimals. However, when passing Float to the gem, it raises NoMethodError. format_price method in pki_builder.rb should convert floats to strings before performing include? check.

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

No branches or pull requests

1 participant