Commit e4fb872f by zmj

fix 初始化参数

parent 0c60a2b2
......@@ -6,8 +6,9 @@ require 'app_push/log'
require 'igetui'
module AppPush
class Push
class << self
attr_accessor :igetui_config, :xiaomi_config
def initialize(opts = {})
def init(opts = {})
opts = opts.with_indifferent_access
# {
# base: {
......@@ -63,4 +64,5 @@ module AppPush
Log.error(err)
end
end
end
end
module AppPush
VERSION = "0.1"
VERSION = "0.11"
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment