lib/ruby_lokalise_api/resources/order.rb in ruby-lokalise-api-7.2.0 vs lib/ruby_lokalise_api/resources/order.rb in ruby-lokalise-api-8.0.0.rc1

- old
+ new

@@ -1,17 +1,10 @@ # frozen_string_literal: true module RubyLokaliseApi module Resources class Order < Base - ID_KEY = 'order_id' - supports [:reload_data, '', :find] - - class << self - def endpoint(team_id, order_id = nil) - path_from teams: team_id, - orders: order_id - end - end + MAIN_PARAMS = %i[team_id order_id].freeze + no_support_for %i[update destroy] end end end