Skip to content

Updated test_mode conditional so value can be boolean or string

Choose a tag to compare

@RichardWatkins1 RichardWatkins1 released this 03 Apr 12:01
· 60 commits to master since this release
0bc8126

Update the below method:

def test_mode
  FlexCommerceApi.config.order_test_mode == true || FlexCommerceApi.config.order_test_mode == "true"
end