Sha256: 1a9da0ea0432e0bfbf110e452537c6fb0ae22e84cb5fa00e5b9285720d241f03
Contents?: true
Size: 438 Bytes
Versions: 8
Compression:
Stored size: 438 Bytes
Contents
module Plaid module AddUser def add_user(api_level,username,password,type,pin=nil,options=nil) begin payload = {username:username,password:password,type:type} payload.merge!(pin:pin) if pin payload.merge!(options: options) if options res = self.post(api_level,payload) self.user(res,api_level) rescue => e error_handler(e) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems