Class: NameDotComApi::Response

Inherits:
Hash
  • Object
show all
Includes:
EigenMethodDefiner
Defined in:
lib/name_dot_com_api/response.rb

Defined Under Namespace

Modules: EigenMethodDefiner

Instance Method Summary collapse

Methods included from EigenMethodDefiner

#method_missing

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