Sha256: f8ba2afa1c81b5483e2f155d68a5300442883e3b126744facfe32b572d1c81e9

Contents?: true

Size: 338 Bytes

Versions: 10

Compression:

Stored size: 338 Bytes

Contents

module Streamit
  module Store
    extend ActiveSupport::Concern
    
    module ClassMethods
      def save_stream!(args)
        store = new(args)
        store.save_stream!
      end
    end
    
    def stream_type_in_words
      I18n.t(stream_type)
    end
    
    def save_stream!
      raise NotImplementedError
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
streamit-0.0.8 lib/streamit/store.rb
streamit-0.0.7 lib/streamit/store.rb
streamit-0.0.6.2 lib/streamit/store.rb
streamit-0.0.6.1 lib/streamit/store.rb
streamit-0.0.6 lib/streamit/store.rb
streamit-0.0.5 lib/streamit/store.rb
streamit-0.0.4 lib/streamit/store.rb
streamit-0.0.3 lib/streamit/store.rb
streamit-0.0.1 lib/streamit/store.rb
streamit-0.0.0 lib/streamit/store.rb