Class: Corkboard::Service::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/corkboard/service/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(provider, args) ⇒ Config

Returns a new instance of Config.



6
7
8
9
# File 'lib/corkboard/service/config.rb', line 6

def initialize(provider, args)
  @provider = provider
  @args     = args
end

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args.



4
5
6
# File 'lib/corkboard/service/config.rb', line 4

def args
  @args
end

#providerObject (readonly)

Returns the value of attribute provider.



4
5
6
# File 'lib/corkboard/service/config.rb', line 4

def provider
  @provider
end