lib/linodians/employee.rb in linodians-1.0.1 vs lib/linodians/employee.rb in linodians-1.1.0
- old
+ new
@@ -20,10 +20,10 @@
def to_json(*args, &block)
@data.to_json(*args, &block)
end
- def respond_to?(method, _ = false)
+ def respond_to_missing?(method, _ = false)
@data.key?(method) || super
end
def to_h
@data.dup