Sha256: 5e2264798e5b92e9b655de1c1443e2562db12eec4a18b16eb8db1bd4d5f92789
Contents?: true
Size: 584 Bytes
Versions: 2
Compression:
Stored size: 584 Bytes
Contents
module Eco module API class Session class Config class UseCases < Hash attr_reader :config def initialize(root:) super(nil) @root = root @config = @root end # CUSTOM USE CASES def add use_group.tap do |group| yield(group, config) end end def use_group self["use_group"] ||= Eco::API::UseCases::UseGroup.new end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
eco-helpers-0.7.2 | lib/eco/api/session/config/use_cases.rb |
eco-helpers-0.7.1 | lib/eco/api/session/config/use_cases.rb |