Sha256: 8ad456ab3c734ca9d646b24a4e4c048abca95dd02b06071f865eae559d46723e

Contents?: true

Size: 333 Bytes

Versions: 1

Compression:

Stored size: 333 Bytes

Contents

# frozen_string_literal: true

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

1 entries across 1 versions & 1 rubygems

Version Path
shipcloud-0.12.0 lib/shipcloud/shipment_quote.rb