lib/smsapi/server.rb in smsapi-client-0.2.0 vs lib/smsapi/server.rb in smsapi-client-0.3.0
- old
+ new
@@ -4,9 +4,14 @@
@username = username
@password = password
@connection = setup_connection
end
+ def user(params = {})
+ api_response = make_request(Smsapi::API[:user_path], params)
+ api_response.split(';')
+ end
+
def sms(params = {})
api_response = make_request(Smsapi::API[:sms_path], params)
api_response.split(';')
end