<commit_before>require 'faraday'
require 'json'

module AtpayRest
  class Dashboard
    def self.find_organization(session, search_string, args={})
      response = session.conn.get "api/v4/rest/organizations/#{search_string}", args
      JSON.parse response.body
    end

    def self.create_organization(session, args)
      _response = session.conn.post("api/v4/rest/organizations", args)
    end
  end
end<commit_msg>Returns response data<commit_after>require 'faraday'
require 'json'

module AtpayRest
  class Dashboard
    def self.find_organization(session, search_string, args={})
      response = session.conn.get "api/v4/rest/organizations/#{search_string}", args
      JSON.parse response.body
    end

    def self.create_organization(session, args)
      _response = session.conn.post("api/v4/rest/organizations", args)
      _response.body
    end
  end
end
{'fraction_non_alphanumeric': 0.1044776119402985, 'fraction_numerical': 0.004592422502870264, 'mean_word_length': 3.8715083798882683, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6315303', 'n_tokens_mistral': 273, 'n_tokens_neox': 264, 'n_words': 58}