lib/china_aqi/base.rb in china_aqi-0.0.1 vs lib/china_aqi/base.rb in china_aqi-0.0.2
- old
+ new
@@ -52,13 +52,9 @@
config.china_aqi_token = "you_token"
#{'*' * 66}~ unless ChinaAqi.token
@token = ChinaAqi.token
end
-
- def self.get(*args)
- self.new(*args).get
- end
end
# APIs with some parameters
class DynamicBase < Base
attr_accessor :city
\ No newline at end of file