Class: ZAWS::External::AWSCLI::Commands::Route53::ListHostedZones
- Inherits:
-
Object
- Object
- ZAWS::External::AWSCLI::Commands::Route53::ListHostedZones
- Defined in:
- lib/zaws/external/awscli/commands/route53/list_hosted_zones.rb
Instance Method Summary collapse
- #aws ⇒ Object
- #get_command ⇒ Object
-
#initialize(shellout = nil, awscli = nil) ⇒ ListHostedZones
constructor
A new instance of ListHostedZones.
Constructor Details
#initialize(shellout = nil, awscli = nil) ⇒ ListHostedZones
Returns a new instance of ListHostedZones.
7 8 9 10 11 12 |
# File 'lib/zaws/external/awscli/commands/route53/list_hosted_zones.rb', line 7 def initialize(shellout=nil, awscli=nil) @shellout=shellout @awscli=awscli @aws=nil self end |
Instance Method Details
#aws ⇒ Object
19 20 21 22 |
# File 'lib/zaws/external/awscli/commands/route53/list_hosted_zones.rb', line 19 def aws @aws ||= ZAWS::External::AWSCLI::Commands::AWS.new(self) @aws end |
#get_command ⇒ Object
14 15 16 17 |
# File 'lib/zaws/external/awscli/commands/route53/list_hosted_zones.rb', line 14 def get_command command = "route53 list-hosted-zones" return command end |