1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Silence warnings about potentially private attribute

This commit is contained in:
James Herdman 2012-05-14 14:53:53 -04:00
parent 641c6c106b
commit 101439bbda

View file

@ -77,7 +77,11 @@ module Fog
end
private
attr_reader :client
def client
return @client if defined?(@client)
end
#read mocks xml
def read_xml(file_name)
file_path = File.join(File.dirname(__FILE__),"requests","compute","mock_files",file_name)
@ -103,7 +107,10 @@ module Fog
end
private
attr_reader :client
def client
@client
end
end
end
end