Sha256: b089142cceae531e44f0fd98e5783e369943709bec8123ea123583fa9c5d5f1f

Contents?: true

Size: 360 Bytes

Versions: 7

Compression:

Stored size: 360 Bytes

Contents

# 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
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ruby-lokalise-api-7.2.0 lib/ruby_lokalise_api/resources/order.rb
ruby-lokalise-api-7.1.1 lib/ruby_lokalise_api/resources/order.rb
ruby-lokalise-api-7.1.0 lib/ruby_lokalise_api/resources/order.rb
ruby-lokalise-api-7.0.0 lib/ruby_lokalise_api/resources/order.rb
ruby-lokalise-api-6.2.0 lib/ruby_lokalise_api/resources/order.rb
ruby-lokalise-api-6.1.0 lib/ruby_lokalise_api/resources/order.rb
ruby-lokalise-api-6.0.0 lib/ruby_lokalise_api/resources/order.rb