Class: Mystro::Cloud::Aws::Record
- Inherits:
-
Connect
- Object
- Connect
- Fog::Connect
- Connect
- Mystro::Cloud::Aws::Record
- Defined in:
- lib/mystro/cloud/connect/aws/record.rb
Instance Attribute Summary
Attributes inherited from Fog::Connect
Attributes inherited from Connect
Instance Method Summary collapse
Methods inherited from Fog::Connect
#all, #collection, #create, #destroy, #find, #initialize
Methods inherited from Connect
#all, #create, #decode, #destroy, #encode, #find, #initialize
Constructor Details
This class inherits a constructor from Mystro::Cloud::Fog::Connect
Instance Method Details
#find_by_name(name) ⇒ Object
9 10 11 |
# File 'lib/mystro/cloud/connect/aws/record.rb', line 9 def find_by_name(name) find(name) end |
#service ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'lib/mystro/cloud/connect/aws/record.rb', line 13 def service @service ||= begin list = zones.service.zones.all z = @config[:zone] s = list.detect {|e| e.domain == "#{z}."} s end end |