lib/berkeley_library/tind/api/api.rb
# Gets the URI for the specified API endpoint.
# @param endpoint [Symbol, String] the endpoint (e.g. `:search` or `:collection`)
# @return [URI] the URI for the specified endpoint
# @raise [API::BaseURINotSet] if the TIND base URI is not set
Gets the URI for the specified API endpoint.
Gets the URI for the specified API endpoint .
def uri_for(endpoint)
          return if Config.blank?(api_base_uri)
          URIs.append(api_base_uri, endpoint)
        end
def uri_for ( endpoint ) return if Config . blank? ( api_base_uri ) URIs . append ( api_base_uri , endpoint ) end
Gets the URI for the specified API endpoint.
Gets the URI for the specified API endpoint .
the URI for the specified endpoint
the URI for the specified endpoint
URI
[API::BaseURINotSet] if the TIND base URI is not set
[ API :: BaseURINotSet ] if the TIND base URI is not set
endpoint
None