Skip to content

Commit

Permalink
Changes generated by 4d77e4d426473a62550c250fedd94d9ef53ccd9d
Browse files Browse the repository at this point in the history
  • Loading branch information
gocardless-robot authored and markrofail-gc committed Nov 30, 2021
1 parent cab72e3 commit c14809c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions GoCardless/Services/BlockService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -187,15 +187,15 @@ public Task<BlockResponse> EnableAsync(string identity, BlockEnableRequest reque
/// </summary>
/// <param name="request">An optional `BlockBlockByRefRequest` representing the body for this block_by_ref request.</param>
/// <param name="customiseRequestMessage">An optional `RequestSettings` allowing you to configure the request</param>
/// <returns>A single block resource</returns>
public Task<BlockResponse> BlockByRefAsync(BlockBlockByRefRequest request = null, RequestSettings customiseRequestMessage = null)
/// <returns>A set of block resources</returns>
public Task<BlockListResponse> BlockByRefAsync(BlockBlockByRefRequest request = null, RequestSettings customiseRequestMessage = null)
{
request = request ?? new BlockBlockByRefRequest();

var urlParams = new List<KeyValuePair<string, object>>
{};

return _goCardlessClient.ExecuteAsync<BlockResponse>("POST", "/block_by_ref", urlParams, request, null, "data", customiseRequestMessage);
return _goCardlessClient.ExecuteAsync<BlockListResponse>("POST", "/block_by_ref", urlParams, request, null, "data", customiseRequestMessage);
}
}

Expand Down

0 comments on commit c14809c

Please sign in to comment.