lib/takuhai_status/fedex.rb in takuhai_status-1.7.4 vs lib/takuhai_status/fedex.rb in takuhai_status-1.8.1
- old
+ new
@@ -2,9 +2,10 @@
require 'json'
module TakuhaiStatus
class FedEx
attr_reader :key, :time, :state
+ TakuhaiStatus.add_service(self)
def initialize(key)
@key = key
@time, @state = check
end