Class: ActiveZone::Resource
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- ActiveZone::Resource
- Defined in:
- app/models/active_zone/resource.rb
Direct Known Subclasses
A, AAAA, ALIAS, CAA, CNAME, HINFO, MX, NAPTR, NS, PTR, SPF, SRV, SSHFP, TXT, URL
Defined Under Namespace
Classes: A, AAAA, ALIAS, CAA, CNAME, HINFO, MX, NAPTR, NS, PTR, SPF, SRV, SSHFP, TXT, URL
Class Method Summary collapse
Class Method Details
.types ⇒ Object
7 8 9 |
# File 'app/models/active_zone/resource.rb', line 7 def self.types subclasses.map { |r| r.name.demodulize } end |