Class: Dnsimple::Options::Base
- Inherits:
-
Object
- Object
- Dnsimple::Options::Base
- Defined in:
- lib/dnsimple/options.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(options) ⇒ Base
constructor
A new instance of Base.
- #to_h ⇒ Object
Constructor Details
#initialize(options) ⇒ Base
Returns a new instance of Base.
7 8 9 |
# File 'lib/dnsimple/options.rb', line 7 def initialize() @options = ( || {}).dup end |
Instance Method Details
#to_h ⇒ Object
11 12 13 |
# File 'lib/dnsimple/options.rb', line 11 def to_h @options end |