Method: Unit::Card.report_lost

Defined in:
lib/unit/models/card/card.rb

.report_lost(card_id:) ⇒ Object

Report a card as a lost by calling Unit’s API

Parameters:

  • card_id (String)


189
190
191
# File 'lib/unit/models/card/card.rb', line 189

def report_lost(card_id:)
  Unit::Resource::CardResource.report_lost(card_id)
end