Class: Lithic::Resources::TransferLimits
- Inherits:
-
Object
- Object
- Lithic::Resources::TransferLimits
- Defined in:
- lib/lithic/resources/transfer_limits.rb
Instance Method Summary collapse
-
#initialize(client:) ⇒ TransferLimits
constructor
private
A new instance of TransferLimits.
-
#list(date: nil, request_options: {}) ⇒ Lithic::Internal::SinglePage<Lithic::Models::TransferLimitsResponse::Data>
Get transfer limits for a specified date.
Constructor Details
#initialize(client:) ⇒ TransferLimits
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of TransferLimits.
33 34 35 |
# File 'lib/lithic/resources/transfer_limits.rb', line 33 def initialize(client:) @client = client end |
Instance Method Details
#list(date: nil, request_options: {}) ⇒ Lithic::Internal::SinglePage<Lithic::Models::TransferLimitsResponse::Data>
Get transfer limits for a specified date
17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/lithic/resources/transfer_limits.rb', line 17 def list(params = {}) parsed, = Lithic::TransferLimitListParams.dump_request(params) query = Lithic::Internal::Util.encode_query_params(parsed) @client.request( method: :get, path: "v1/transfer_limits", query: query, page: Lithic::Internal::SinglePage, model: Lithic::TransferLimitsResponse::Data, options: ) end |