Sha256: f702931647f5506242bb3ad98fd77ffb7669b6118cf136321fd30fb1e6a432e4

Contents?: true

Size: 605 Bytes

Versions: 46

Compression:

Stored size: 605 Bytes

Contents

class Gillbus
  module GetBusImage
    Gillbus.register self, :get_bus_image

    class Request < BaseRequest
      def path; '/online2/getBusImage' end

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

      def params
        compact(
          busId: bus_id,
        )
      end
    end

    class Image
      extend Fields
      include UpdateAttrs

      field :url
      field :thumb_url
    end

    class Response < BaseResponse
      field :images, [Image], key: 'IMAGE'
    end
  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
gillbus-0.23.0 lib/gillbus/get_bus_image.rb
gillbus-0.22.9 lib/gillbus/get_bus_image.rb
gillbus-0.22.8 lib/gillbus/get_bus_image.rb
gillbus-0.22.7 lib/gillbus/get_bus_image.rb
gillbus-0.22.6 lib/gillbus/get_bus_image.rb
gillbus-0.22.5 lib/gillbus/get_bus_image.rb
gillbus-0.22.4 lib/gillbus/get_bus_image.rb
gillbus-0.22.3 lib/gillbus/get_bus_image.rb
gillbus-0.22.2 lib/gillbus/get_bus_image.rb
gillbus-0.22.1 lib/gillbus/get_bus_image.rb
gillbus-0.22.0 lib/gillbus/get_bus_image.rb
gillbus-0.21.0 lib/gillbus/get_bus_image.rb
gillbus-0.20.9 lib/gillbus/get_bus_image.rb
gillbus-0.20.8 lib/gillbus/get_bus_image.rb
gillbus-0.20.7 lib/gillbus/get_bus_image.rb
gillbus-0.20.6 lib/gillbus/get_bus_image.rb
gillbus-0.20.5 lib/gillbus/get_bus_image.rb
gillbus-0.20.4 lib/gillbus/get_bus_image.rb
gillbus-0.20.3 lib/gillbus/get_bus_image.rb
gillbus-0.20.2 lib/gillbus/get_bus_image.rb