Sha256: a214956642f6ea021e58fccf71cb9f3bad5f0569fc66cbc1041ae7977debe903

Contents?: true

Size: 624 Bytes

Versions: 31

Compression:

Stored size: 624 Bytes

Contents

class Gillbus
  module GetOrderStatus

    Gillbus.register self, :get_order_status

    class Request < BaseRequest

      def path; '/online2/getOrderStatus' end

      # orderNumber
      # Номер заказа или массив заказов, полученных при создании отложенной продажи.
      attr_accessor :order_number

      def params
        compact(
          orderNumber: order_number.is_a?(Array) ? order_number.join(";") : order_number,
        )
      end

    end

    class Response < BaseResponse
      field :tickets, [Ticket], key: 'TICKET'
    end

  end

end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
gillbus-0.16.7 lib/gillbus/get_order_status.rb
gillbus-0.16.6 lib/gillbus/get_order_status.rb
gillbus-0.16.5 lib/gillbus/get_order_status.rb
gillbus-0.16.4 lib/gillbus/get_order_status.rb
gillbus-0.16.3 lib/gillbus/get_order_status.rb
gillbus-0.16.2 lib/gillbus/get_order_status.rb
gillbus-0.16.1 lib/gillbus/get_order_status.rb
gillbus-0.15.7 lib/gillbus/get_order_status.rb
gillbus-0.15.6 lib/gillbus/get_order_status.rb
gillbus-0.15.5 lib/gillbus/get_order_status.rb
gillbus-0.15.4 lib/gillbus/get_order_status.rb
gillbus-0.15.3 lib/gillbus/get_order_status.rb
gillbus-0.15.2 lib/gillbus/get_order_status.rb
gillbus-0.15.1 lib/gillbus/get_order_status.rb
gillbus-0.15.0 lib/gillbus/get_order_status.rb
gillbus-0.14.12 lib/gillbus/get_order_status.rb
gillbus-0.14.11 lib/gillbus/get_order_status.rb
gillbus-0.14.10 lib/gillbus/get_order_status.rb
gillbus-0.14.9 lib/gillbus/get_order_status.rb
gillbus-0.14.8 lib/gillbus/get_order_status.rb