Module: DME
- Defined in:
- lib/dme.rb
Class Method Summary collapse
- .[](key, secret) ⇒ Object
- .method_missing(method) ⇒ Object
- .respond_to_missing?(method, include_private = false) ⇒ Boolean
Class Method Details
.[](key, secret) ⇒ Object
7 8 9 |
# File 'lib/dme.rb', line 7 def [](key, secret) ::DnsMadeEasy::Api::Client.new(key, secret) end |
.method_missing(method) ⇒ Object
11 12 13 14 15 |
# File 'lib/dme.rb', line 11 def method_missing(method, ...) DnsMadeEasy.send(method, ...) rescue NameError => e puts "Error: #{e.}" end |
.respond_to_missing?(method, include_private = false) ⇒ Boolean
17 18 19 |
# File 'lib/dme.rb', line 17 def respond_to_missing?(method, include_private = false) DnsMadeEasy.respond_to?(method, include_private) || super end |