lib/money/bank/currencylayer.rb
def perform_request(uri)
        uri.read
      rescue Exception => e
        raise RequestError, e.message
      end
##
# 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
uri Requested uri
uri Requested uri