lib/takuhai_status/kuronekoyamato.rb in takuhai_status-1.5.3 vs lib/takuhai_status/kuronekoyamato.rb in takuhai_status-1.5.4
- old
+ new
@@ -9,10 +9,10 @@
@key = key.gsub(/[^0-9]/, '')
@time, @state = check
end
def finish?
- return !!(@state =~ /^(お客様引渡|配達|投函)完了|返品/)
+ return !!(@state =~ /^(お客様引渡|配達|投函)完了|返品|国内到着/)
end
private
def check
conn = Faraday.new(url: 'http://toi.kuronekoyamato.co.jp/')