Sha256: 701c1bd4fd84c25d702c63b27968b6f7fa0c55b71f91a1d96a68934df69fd2c0

Contents?: true

Size: 312 Bytes

Versions: 10

Compression:

Stored size: 312 Bytes

Contents

module Iyzi
  module PkiBuilders
    class BasketItems
      attr_reader :items

      def initialize(basket_items = [])
        @items = basket_items
      end

      def request_array
        (items || []).collect do |item|
          BasketItem.new(item).request_string
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
iyzi-0.8.1 lib/iyzi/pki_builders/basket_items.rb
iyzi-0.8.0 lib/iyzi/pki_builders/basket_items.rb
iyzi-0.7.0 lib/iyzi/pki_builders/basket_items.rb
iyzi-0.6.0 lib/iyzi/pki_builders/basket_items.rb
iyzi-0.5.0 lib/iyzi/pki_builders/basket_items.rb
iyzi-0.4.0 lib/iyzi/pki_builders/basket_items.rb
iyzi-0.3.0 lib/iyzi/pki_builders/basket_items.rb
iyzi-0.2.0 lib/iyzi/pki_builders/basket_items.rb
iyzi-0.1.0 lib/iyzi/pki_builders/basket_items.rb
iyzi-0.0.1 lib/iyzi/pki_builders/basket_items.rb