Sha256: b5aed540989273a6be33e7f8f22190305a06a4ce575c9036c1d810804df0740f

Contents?: true

Size: 302 Bytes

Versions: 6

Compression:

Stored size: 302 Bytes

Contents

module Shipcloud
  class ShipmentQuote < Base
    include Shipcloud::Operations::Create

    attr_accessor :from, :to, :carrier, :package, :service
    attr_reader :price

    def self.base_url
      "shipment_quotes"
    end

    def self.create_response_root
      "shipment_quote"
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
shipcloud-0.11.0 lib/shipcloud/shipment_quote.rb
shipcloud-0.10.0 lib/shipcloud/shipment_quote.rb
shipcloud-0.9.0 lib/shipcloud/shipment_quote.rb
shipcloud-0.8.0 lib/shipcloud/shipment_quote.rb
shipcloud-0.7.0 lib/shipcloud/shipment_quote.rb
shipcloud-0.6.0 lib/shipcloud/shipment_quote.rb