Class: SnapAPIClient::Resources::Card

Inherits:
Base
  • Object
show all
Defined in:
lib/snap_api_client/resources/card.rb

Instance Attribute Summary

Attributes inherited from Base

#transport

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from SnapAPIClient::Resources::Base

Instance Method Details

#update_review_url(id, url) ⇒ Object



6
7
8
9
10
11
12
# File 'lib/snap_api_client/resources/card.rb', line 6

def update_review_url(id, url)
  transport.patch("/cards/#{id}/review", {
                    card: {
                      review_url: url
                    }
                  })
end