Sha256: cd9106e4154d80d4463afa5417fbf4d6f9b1be431803c7d8e6c8db3ef6ff90da
Contents?: true
Size: 482 Bytes
Versions: 7
Compression:
Stored size: 482 Bytes
Contents
module Conekta class ShippingLine < Resource include Conekta::Operations::Delete include Conekta::Operations::Update include Conekta::Operations::CustomAction attr_accessor :description, :amount, :carrier, :shipping_line_method, :tracking_number, :parent_id, :metadata def _url ensure_id "#{self.order._url}#{self.class._url}/#{id}" end def delete self.delete_member('order', 'shipping_lines') end end end
Version data entries
7 entries across 7 versions & 2 rubygems