Class: Aws::Api::Docs::Builder Private
- Inherits:
-
Object
- Object
- Aws::Api::Docs::Builder
- Defined in:
- lib/aws-sdk-core/api/docs/builder.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Defined Under Namespace
Classes: Tabulator
Class Method Summary collapse
- .document(svc_module) ⇒ Object private
Instance Method Summary collapse
- #document ⇒ Object private
-
#initialize(svc_module) ⇒ Builder
constructor
private
A new instance of Builder.
Constructor Details
#initialize(svc_module) ⇒ Builder
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Builder.
12 13 14 15 16 17 18 19 20 21 |
# File 'lib/aws-sdk-core/api/docs/builder.rb', line 12 def initialize(svc_module) @svc_module = svc_module @svc_name = svc_module.name.split('::').last @client_class = svc_module.const_get(:Client) @api = @client_class.api @full_name = @api.['serviceFullName'] @error_names = @api.operations.map {|_,o| o.errors.map(&:shape).map(&:name) } @error_names = @error_names.flatten.uniq.sort @namespace = YARD::Registry['Aws'] end |
Class Method Details
.document(svc_module) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
8 9 10 |
# File 'lib/aws-sdk-core/api/docs/builder.rb', line 8 def self.document(svc_module) new(svc_module).document end |
Instance Method Details
#document ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
23 24 25 26 27 28 |
# File 'lib/aws-sdk-core/api/docs/builder.rb', line 23 def document document_service document_types document_client document_errors end |