Sha256: 7df47ee6df61fceaca3c350e3f2ed1649612386b4f63d03ccee6e6395cd7d5b1

Contents?: true

Size: 530 Bytes

Versions: 13

Compression:

Stored size: 530 Bytes

Contents

class Gillbus
  module GetBusImage

    Gillbus.register self, :get_bus_image

    class Request < BaseRequest

      def path; '/online2/GetBusImage' end

      def method; :get end

      # busId
      # Уникальный ИД заказа, переданный при отложенной продаже.
      attr_accessor :bus_id

      def params
        compact(
          busId: bus_id,
        )
      end

    end

    class Response < BaseResponse
      field :image_urls, [:string], key: 'URL'
    end

  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
gillbus-0.16.2 lib/gillbus/get_bus_image.rb
gillbus-0.16.1 lib/gillbus/get_bus_image.rb
gillbus-0.15.7 lib/gillbus/get_bus_image.rb
gillbus-0.15.6 lib/gillbus/get_bus_image.rb
gillbus-0.15.5 lib/gillbus/get_bus_image.rb
gillbus-0.15.4 lib/gillbus/get_bus_image.rb
gillbus-0.15.3 lib/gillbus/get_bus_image.rb
gillbus-0.15.2 lib/gillbus/get_bus_image.rb
gillbus-0.15.1 lib/gillbus/get_bus_image.rb
gillbus-0.15.0 lib/gillbus/get_bus_image.rb
gillbus-0.14.12 lib/gillbus/get_bus_image.rb
gillbus-0.14.11 lib/gillbus/get_bus_image.rb
gillbus-0.14.10 lib/gillbus/get_bus_image.rb