class GdsApi::AssetManager
def update_asset(id, 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. -
id(String) -- The asset identifier
def update_asset(id, asset) put_multipart("#{base_url}/assets/#{id}", { :asset => asset }) end