Class: NameDotComApi::Response
- Inherits:
-
Hash
- Object
- Hash
- NameDotComApi::Response
- Includes:
- EigenMethodDefiner
- Defined in:
- lib/name_dot_com_api/response.rb
Defined Under Namespace
Modules: EigenMethodDefiner
Instance Method Summary collapse
-
#initialize(json) ⇒ Response
constructor
A new instance of Response.
Methods included from EigenMethodDefiner
Constructor Details
#initialize(json) ⇒ Response
Returns a new instance of Response.
6 7 8 |
# File 'lib/name_dot_com_api/response.rb', line 6 def initialize(json) self.update JSON.parse(json) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class NameDotComApi::Response::EigenMethodDefiner