Sha256: 18e223d21bbb731cd0cf709e57e6bca8db1fedb1d4b4b1092009842458c10384

Contents?: true

Size: 606 Bytes

Versions: 1

Compression:

Stored size: 606 Bytes

Contents

require "stormwatch/workflows/version"
require 'stormwatch/workflows/registry'
require 'stormwatch/workflows/create_board'
require 'stormwatch/workflows/create_box'
require 'stormwatch/workflows/update_box'

module Stormwatch
  module Workflows

    def self.config(&blk)
      yield self
      self
    end

    def self.board_storage=(storage)
      Registry.register('storage.boards', storage)
    end

    def self.box_storage=(storage)
      Registry.register('storage.boxes', storage)
    end

    def self.token_storage=(storage)
      Registry.register('storage.tokens', storage)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stormwatch-workflows-0.1.3 lib/stormwatch/workflows.rb