Class: Dnsimple::Options::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/dnsimple/options.rb

Direct Known Subclasses

ListOptions

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Base

Returns a new instance of Base.



7
8
9
# File 'lib/dnsimple/options.rb', line 7

def initialize(options)
  @options = (options || {}).dup
end

Instance Method Details

#to_hObject



11
12
13
# File 'lib/dnsimple/options.rb', line 11

def to_h
  @options
end