Class: Acmaker::Client
- Inherits:
-
Object
- Object
- Acmaker::Client
- Includes:
- Logger::Helper, Utils::Helper
- Defined in:
- lib/acmaker/client.rb
Instance Method Summary collapse
- #apply(file) ⇒ Object
- #export ⇒ Object
-
#initialize(options = {}) ⇒ Client
constructor
A new instance of Client.
Methods included from Utils::Helper
Methods included from Logger::Helper
Constructor Details
#initialize(options = {}) ⇒ Client
Returns a new instance of Client.
6 7 8 9 10 11 |
# File 'lib/acmaker/client.rb', line 6 def initialize( = {}) @options = @client = @options[:client] || Aws::ACM::Client.new @driver = Acmaker::Driver.new(@client, @options) @exporter = Acmaker::Exporter.new(@client, @options) end |
Instance Method Details
#apply(file) ⇒ Object
17 18 19 |
# File 'lib/acmaker/client.rb', line 17 def apply(file) walk(file) end |
#export ⇒ Object
13 14 15 |
# File 'lib/acmaker/client.rb', line 13 def export @exporter.export end |