Sha256: cba23cee17d9503c3906965ad1c758c621feaa6da4a390f6f6e7ecfc1760166f

Contents?: true

Size: 266 Bytes

Versions: 4

Compression:

Stored size: 266 Bytes

Contents

class Dynomite::Item
  module WaiterMethods
    extend ActiveSupport::Concern

    def waiter
      self.class.waiter
    end

    class_methods do
      extend Memoist

      def waiter
        Dynomite::Waiter.new
      end
      memoize :waiter
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dynomite-2.0.3 lib/dynomite/item/waiter_methods.rb
dynomite-2.0.2 lib/dynomite/item/waiter_methods.rb
dynomite-2.0.1 lib/dynomite/item/waiter_methods.rb
dynomite-2.0.0 lib/dynomite/item/waiter_methods.rb