Sha256: 6aed635ae49cb0c41d590a0afc16c9d9d2d772fe5c5e930624753a2089d690e8

Contents?: true

Size: 308 Bytes

Versions: 1

Compression:

Stored size: 308 Bytes

Contents

module Commands
  class Set
    def initialize(local_config=Detom::LocalConfig.new)
      @local_config = local_config
    end

    def call(client, project=nil)
      @local_config.load!

      @local_config.client = client
      @local_config.project = project

      @local_config.save!
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
detom-0.0.2 lib/detom/commands/set.rb