summaryrefslogtreecommitdiff
path: root/lib/leap_cli/config/provider.rb
blob: 0d8bc1f3f59dfce473eba4af8d46fadba71518e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
# Configuration class for provider.json
#

module LeapCli; module Config
  class Provider < Object
    attr_reader :environment
    def set_env(e)
      if e == 'default'
        @environment = nil
      else
        @environment = e
      end
    end
    def provider
      self
    end
    def validate!
      # nothing here yet :(
    end
  end
end; end