Sha256: 639e1127448030dd8cbaed86b71f7b6445d72af9b11b4466551f9f567ee63e92
Contents?: true
Size: 774 Bytes
Versions: 5
Compression:
Stored size: 774 Bytes
Contents
module OiApi class Client module Cards # no GET all? #def cards(advertiser_id, options = {}) # get "/advertisers/#{advertiser_id}/cards/", options #end def card(advertiser_id, card_id, options = {}) get "/advertisers/#{advertiser_id}/cards/#{card_id}/", options end def create_card(advertiser_id, options = {}) post "/advertisers/#{advertiser_id}/cards/", options end def update_card(advertiser_id, card_id, options = {}) put "/advertisers/#{advertiser_id}/cards/#{card_id}/", options end # no delete? #def delete_card(advertiser_id, card_id, options = {}) # delete "/advertisers/#{advertiser_id}/cards/#{card_id}/", options #end end end end
Version data entries
5 entries across 5 versions & 1 rubygems