lib/copyscape/request_base.rb in copyscape-0.0.4 vs lib/copyscape/request_base.rb in copyscape-0.0.5

- old
+ new

@@ -30,9 +30,13 @@ end def post_response(params) self.class.post('/', :body => base_params.merge(params)).body end + + def get_response_balance(format) + self.class.get("/?u=#{Copyscape.username}&k=#{Copyscape.api_key}&o=balance&f=#{format.to_s}").body + end end end \ No newline at end of file