lib/linodians/employee.rb in linodians-1.1.0 vs lib/linodians/employee.rb in linodians-1.1.1
- old
+ new
@@ -9,10 +9,13 @@
@data = Cymbal.symbolize params
@data.freeze
end
def photo
- @photo ||= open(PHOTO_URL % username, &:read)
+ @photo ||= open( # rubocop:disable Security/Open
+ PHOTO_URL % username,
+ &:read
+ )
end
def [](value)
@data[value.to_sym]
end