Class: Kitsune::Kit::Adapters::DnsRecord
- Inherits:
-
Data
- Object
- Data
- Kitsune::Kit::Adapters::DnsRecord
- Defined in:
- lib/kitsune/kit/adapters/provider.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#ttl ⇒ Object
readonly
Returns the value of attribute ttl.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#zone ⇒ Object
readonly
Returns the value of attribute zone.
Instance Method Summary collapse
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data
14 15 16 |
# File 'lib/kitsune/kit/adapters/provider.rb', line 14 def data @data end |
#id ⇒ Object (readonly)
Returns the value of attribute id
14 15 16 |
# File 'lib/kitsune/kit/adapters/provider.rb', line 14 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name
14 15 16 |
# File 'lib/kitsune/kit/adapters/provider.rb', line 14 def name @name end |
#ttl ⇒ Object (readonly)
Returns the value of attribute ttl
14 15 16 |
# File 'lib/kitsune/kit/adapters/provider.rb', line 14 def ttl @ttl end |
#type ⇒ Object (readonly)
Returns the value of attribute type
14 15 16 |
# File 'lib/kitsune/kit/adapters/provider.rb', line 14 def type @type end |
#zone ⇒ Object (readonly)
Returns the value of attribute zone
14 15 16 |
# File 'lib/kitsune/kit/adapters/provider.rb', line 14 def zone @zone end |
Instance Method Details
#to_h ⇒ Object
15 16 17 |
# File 'lib/kitsune/kit/adapters/provider.rb', line 15 def to_h members.to_h { |member| [member, public_send(member)] } end |