Skip to content

Allow decimal in price - #4

Merged
sshaw merged 1 commit into
ScreenStaring:masterfrom
onerinas:price-decimal
Apr 18, 2022
Merged

sshaw merged 1 commit into
ScreenStaring:masterfrom
onerinas:price-decimal

Conversation

@onerinas

@onerinas onerinas commented Apr 6, 2022 •

Copy link
Copy Markdown
Contributor

This would allow us to use price in decimal.

@sshaw

sshaw commented Apr 18, 2022

Copy link
Copy Markdown
Contributor

Hi, thanks for the PR.

With what Ruby version are you using this with?

@sshaw
sshaw merged commit e144af1 into ScreenStaring:master Apr 18, 2022
@onerinas

Copy link
Copy Markdown
Contributor Author

I'm on 2.7.4 but recharge-api version 0.0.1!

Tried updating to latest version but ran into this:
Screenshot 2022-04-22 at 2 07 52 PM

Probably a problem to tackle for another day.

@sshaw

sshaw commented Apr 24, 2022

Copy link
Copy Markdown
Contributor

Hurmmm yes. This is what I figured. Problem is the underlying class2 library. If I recall upgrading it will return Symbol keys instead of String when the JSON is parsed. I'll have to see if that will cause an issue here... ⏳

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.

2 participants