Sha256: 82d67f6c8187b4e904bfe8dbcc7bd3d0e15ec55c92de867ceb32fbf4cdafbb21

Contents?: true

Size: 322 Bytes

Versions: 29

Compression:

Stored size: 322 Bytes

Contents

module Heirloom
  class Catalog
    class List

      def initialize(args)
        @config = args[:config]
      end

      def all
        query  = "SELECT * FROM heirloom"
        sdb.select query
      end

      private

      def sdb
        @sdb ||= AWS::SimpleDB.new :config => @config
      end

    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
heirloom-0.12.7 lib/heirloom/catalog/list.rb
heirloom-0.12.5 lib/heirloom/catalog/list.rb
heirloom-0.12.4 lib/heirloom/catalog/list.rb
heirloom-0.12.3 lib/heirloom/catalog/list.rb
heirloom-0.12.2 lib/heirloom/catalog/list.rb
heirloom-0.12.1 lib/heirloom/catalog/list.rb
heirloom-0.12.0 lib/heirloom/catalog/list.rb
heirloom-0.11.2 lib/heirloom/catalog/list.rb
heirloom-0.11.1 lib/heirloom/catalog/list.rb
heirloom-0.11.0 lib/heirloom/catalog/list.rb
heirloom-0.11.0.beta.2 lib/heirloom/catalog/list.rb
heirloom-0.11.0.beta.1 lib/heirloom/catalog/list.rb
heirloom-0.10.1 lib/heirloom/catalog/list.rb
heirloom-0.10.0 lib/heirloom/catalog/list.rb
heirloom-0.9.0 lib/heirloom/catalog/list.rb
heirloom-0.8.3 lib/heirloom/catalog/list.rb
heirloom-0.8.2 lib/heirloom/catalog/list.rb
heirloom-0.8.1 lib/heirloom/catalog/list.rb
heirloom-0.8.0 lib/heirloom/catalog/list.rb
heirloom-0.7.4 lib/heirloom/catalog/list.rb