lib/money/bank/currencylayer.rb
##
# Performs request on uri or raise exception message with RequestError
#
# @param [String] uri Requested uri
#
# @return [String]
Performs request on uri or raise exception message with RequestError
Performs request on uri or raise exception message with RequestError
def perform_request(uri)
        uri.read
      rescue Exception => e
        raise RequestError, e.message
      end
def perform_request ( uri ) uri . read rescue Exception => e raise RequestError , e . message end
Performs request on uri or raise exception message with RequestError
Performs request on uri or raise exception message with RequestError
None
String
uri
<not_specific>
<not_specific>
uri Requested uri
uri Requested uri