iamfmjk / etsy

A friendly Ruby interface to the Etsy API
https://github.com/kytrinyx/etsy
MIT License
169 stars 113 forks source link

Fix Listing#is_supply method #127

Closed paxer closed 2 years ago

paxer commented 5 years ago

This method is always return true

# [1] pry(main)> !!{"is_supply" => "true"}.fetch("is_supply")
# => true
# [2] pry(main)> !!{"is_supply" => "false"}.fetch("is_supply")
# => true
paxer commented 5 years ago

given this feedback https://github.com/kytrinyx/etsy/pull/98#discussion_r280430477 I've added method back and fixed its implementation