exe/admqr_visit in admqr_knife-0.1.1 vs exe/admqr_visit in admqr_knife-0.1.2
- old
+ new
@@ -14,10 +14,10 @@
option :new_to_visit, type: :boolean, desc: 'is a new visit', default: true
def record(unique_code)
AdmqrKnife.init(options[:client_key])
AdmqrKnife.visit(unique_code: unique_code,
- ua: options[:ua],
+ client_ua: options[:ua],
referer: options[:referer],
tag: options[:tag],
new_to_visit: options[:new_to_visit],
remote_ip: options[:remote_ip])
AdmqrKnife.logger.debug('ok!')