class Ipfinder::Info
Holds array data form call
Attributes
all[R]
Public Class Methods
new(response)
click to toggle source
# File lib/ipfinder/info.rb, line 9 def initialize(response) # Output all details. @all = response # Output value of key if existe. @all.each do |name, value| instance_variable_set("@#{name}", value) self.class.send(:attr_accessor, name) end end