class GdsApi::AssetManager
def create_asset(asset)
-
(HTTPErrorResponse)- if the request returns an error
Returns:
-
(Net::HTTPResponse)- The raw http response from the api.
Parameters:
-
asset(Hash) -- The attributes for the asset to send to the api.
def create_asset(asset) post_multipart("#{base_url}/assets", { :asset => asset }) end