Class: FSR::Cmd::DomainExists
- Inherits:
-
Command
- Object
- Command
- FSR::Cmd::DomainExists
- Defined in:
- lib/fsr/cmd/domain_exists.rb
Constant Summary
Constants inherited from Command
Class Method Summary (collapse)
Instance Method Summary (collapse)
- - (Object) arguments
-
- (DomainExists) initialize(domain)
constructor
A new instance of DomainExists.
- - (Object) response=(response)
Methods inherited from Command
Constructor Details
- (DomainExists) initialize(domain)
A new instance of DomainExists
9 10 11 |
# File 'lib/fsr/cmd/domain_exists.rb', line 9 def initialize(domain) @domain = domain end |
Class Method Details
+ (Object) cmd_name
5 6 7 |
# File 'lib/fsr/cmd/domain_exists.rb', line 5 def self.cmd_name "domain_exists" end |
Instance Method Details
- (Object) arguments
13 14 15 |
# File 'lib/fsr/cmd/domain_exists.rb', line 13 def arguments [@domain] end |
- (Object) response=(response)
17 18 19 |
# File 'lib/fsr/cmd/domain_exists.rb', line 17 def response=(response) @response = response.content == "true" end |