lib/wework/api/methods/provider.rb in wework-1.1.6 vs lib/wework/api/methods/provider.rb in wework-1.1.7
- old
+ new
@@ -8,9 +8,14 @@
end
def get_login_info auth_code
post 'service/get_login_info', {auth_code: auth_code}
end
+
+ def get_register_code template_id, options={}
+ params = {template_id: template_id}
+ post 'service/get_register_code', params.merge(options)
+ end
end
end
end
end
\ No newline at end of file