lib/mihari/structs/onyphe.rb in mihari-5.7.0 vs lib/mihari/structs/onyphe.rb in mihari-5.7.1
- old
+ new
@@ -56,12 +56,10 @@
class << self
#
# @param [Hash] d
#
- # @return [Result]
- #
def from_dynamic!(d)
d = Types::Hash[d]
new(
asn: d.fetch("asn"),
ip: d.fetch("ip"),
@@ -110,11 +108,9 @@
end
class << self
#
# @param [Hash] d
- #
- # @return [Response]
#
def from_dynamic!(d)
d = Types::Hash[d]
new(
count: d.fetch("count"),