Method: FileboundClient::Client#get_binary

Defined in:
lib/filebound_client.rb

#get_binary(url, query_params = nil) ⇒ String

Executes a GET request on the current Filebound client session expecting binary in the body of the response

Parameters:

  • url (String)

    the resource url to request

  • query_params (Hash) (defaults to: nil)

    the optional query parameters to pass to the GET request

Returns:

  • (String)

    Base64 encoded binary string



52
53
54
# File 'lib/filebound_client.rb', line 52

def get_binary(url, query_params = nil)
  perform('get', url, query: query_params)
end