<commit_before>module Shipwire
  class Orders < Api
    def list(params = {})
      request(:get, 'orders', params: params)
    end

    def create(body)
      request(:post, 'orders', body: body)
    end

    def find(id, params = {})
      request(:get, "orders/#{id}/trackings", params: params)
    end

    def update(id, body, params = {})
      request(:put, "orders/#{id}", body: body, params: params)<commit_msg>Shipwire::Orders.new.find return order information<commit_after>module Shipwire
  class Orders < Api
    def list(params = {})
      request(:get, 'orders', params: params)
    end

    def create(body)
      request(:post, 'orders', body: body)
    end

    def find(id, params = {})
      request(:get, "orders/#{id}", params: params)
    end

    def update(id, body, params = {})
      request(:put, "orders/#{id}", body: body, params: params)
{'fraction_non_alphanumeric': 0.1580161476355248, 'fraction_numerical': 0.0, 'mean_word_length': 3.1137440758293837, 'pattern_counts': {'":': 0, '<': 5, '<?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': '4083085', 'n_tokens_mistral': 273, 'n_tokens_neox': 272, 'n_words': 76}