lib/tokyo_api/campact.rb in tokyo_api-1.3.1 vs lib/tokyo_api/campact.rb in tokyo_api-1.4.1

- old
+ new

@@ -7,10 +7,14 @@ def full_user(session_id) client.get_request("#{normalized_base_path}full_user/#{url_escape(session_id)}").body end def session_status(session_id) - client.get_request("#{normalized_base_path}session_status/#{url_escape(session_id)}").body + client.get_request("/#{normalized_base_path}session/#{url_escape(session_id)}/status").body + end + + def destroy_session(session_id) + client.delete_request("/#{normalized_base_path}session/#{url_escape(session_id)}").status == 204 end def subscription_status(token) begin client.get_request(subscription_status_path(token)).body