Sha256: bed58296e71745876c819c7669c4efe36f6bdf1aad2ac58359fd9a3cb6ec74e5

Contents?: true

Size: 530 Bytes

Versions: 13

Compression:

Stored size: 530 Bytes

Contents

module Rapa
  module Queries
    class ListItemsQuery < BaseQuery
      OPERATION = "ItemLookup"

      property :IdType
      property :ItemId
      property :SearchIndex

      # @return [String, nil]
      def IdType
        options[:id_type]
      end

      # @return [String]
      def ItemId
        options[:item_ids].join(",")
      end

      # @note Override
      def Operation
        OPERATION
      end

      # @return [String, nil]
      def SearchIndex
        options[:search_index]
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rapa-0.6.0 lib/rapa/queries/list_items_query.rb
rapa-0.5.7 lib/rapa/queries/list_items_query.rb
rapa-0.5.6 lib/rapa/queries/list_items_query.rb
rapa-0.5.5 lib/rapa/queries/list_items_query.rb
rapa-0.5.4 lib/rapa/queries/list_items_query.rb
rapa-0.5.3 lib/rapa/queries/list_items_query.rb
rapa-0.5.2 lib/rapa/queries/list_items_query.rb
rapa-0.5.1 lib/rapa/queries/list_items_query.rb
rapa-0.5.0 lib/rapa/queries/list_items_query.rb
rapa-0.4.3 lib/rapa/queries/list_items_query.rb
rapa-0.4.2 lib/rapa/queries/list_items_query.rb
rapa-0.4.1 lib/rapa/queries/list_items_query.rb
rapa-0.4.0 lib/rapa/queries/list_items_query.rb