Class: FriendlyShipping::Services::Ups::RateEstimatePackageOptions
- Inherits:
-
PackageOptions
- Object
- PackageOptions
- FriendlyShipping::Services::Ups::RateEstimatePackageOptions
- Defined in:
- lib/friendly_shipping/services/ups/rate_estimate_package_options.rb
Overview
Package properties relevant for quoting a UPS package
Instance Attribute Summary collapse
-
#transmit_dimensions ⇒ Object
readonly
Returns the value of attribute transmit_dimensions.
Attributes inherited from PackageOptions
Instance Method Summary collapse
-
#initialize(transmit_dimensions: true, **kwargs) ⇒ RateEstimatePackageOptions
constructor
A new instance of RateEstimatePackageOptions.
Methods inherited from PackageOptions
Constructor Details
#initialize(transmit_dimensions: true, **kwargs) ⇒ RateEstimatePackageOptions
Returns a new instance of RateEstimatePackageOptions.
12 13 14 15 16 17 18 |
# File 'lib/friendly_shipping/services/ups/rate_estimate_package_options.rb', line 12 def initialize( transmit_dimensions: true, **kwargs ) @transmit_dimensions = transmit_dimensions super(**kwargs) end |
Instance Attribute Details
#transmit_dimensions ⇒ Object (readonly)
Returns the value of attribute transmit_dimensions.
10 11 12 |
# File 'lib/friendly_shipping/services/ups/rate_estimate_package_options.rb', line 10 def transmit_dimensions @transmit_dimensions end |