lib/globalsms/report.rb in globalsms-0.1.0 vs lib/globalsms/report.rb in globalsms-0.2.0
- old
+ new
@@ -37,10 +37,10 @@
def originator_list
uri = "#{@api_base_url}/originator/list?key=#{@api_key}&secret=#{@api_secret}"
c = HTTPClient.new
return JSON.parse(c.get(uri).body)
end
-
+
def user_info
uri = "#{@api_base_url}/user/info?key=#{@api_key}&secret=#{@api_secret}"
c = HTTPClient.new
return JSON.parse(c.get(uri).body)
end
\ No newline at end of file