Method: Unit::Resource::CardResource.list_cards
- Defined in:
- lib/unit/api_resources/card_resource.rb
.list_cards(params = nil) ⇒ UnitResponse, UnitError
List cards by calling Unit’s API
97 98 99 100 |
# File 'lib/unit/api_resources/card_resource.rb', line 97 def list_cards(params = nil) response = HttpHelper.get("#{api_url}/cards", params: params&.to_hash, headers: headers) response_handler(response) end |