lib/client/posting_client.rb in threetaps-client-1.0.2 vs lib/client/posting_client.rb in threetaps-client-1.0.3

- old
+ new

@@ -79,10 +79,11 @@ # NOT USED # # Returns information on the existence of postings. # def exists_posting(posting) - params = "ids=#{posting}" + params = "ids=[#{posting.to_json_for_status}]" response = execute_post("/posting/exists", params) - ExistsResponse.from_array(decode(response)) + p decode(response)[0] + ExistsResponse.new(decode(response)[0]) end end