Im new to ruby and need to know how to easily display the specific variables in this returned response below.
Any help is greatly appreciated.
response
[#<Fedex::Rate:0x007fb9320ba7f0 @service_type="FEDEX_GROUND",
@rate_type="PAYOR_ACCOUNT_PACKAGE", @rate_zone="4", @total_billing_weight="6.0 LB",
@total_freight_discounts={:currency=>"USD", :amount=>"2.75"}, @total_net_charge="6.84",
@total_taxes="0.0", @total_net_freight="6.42", @total_surcharges="0.42",
@total_base_charge="9.17", @total_net_fedex_charge=nil, @total_rebates="0.0">]
Fedex::Rateclass exposes.#rate_typefor the instances of the classFedex::Rate..