lib/shipping_scale/configuration.rb in shipping-scale-0.1.0 vs lib/shipping_scale/configuration.rb in shipping-scale-0.1.2
- old
+ new
@@ -1,6 +1,6 @@
module ShippingScale
- class Configuration < Struct.new(:user_id, :timeout, :testing, :zip_origin, :zip_destination)
+ class Configuration < Struct.new(:user_id, :timeout, :testing, :zip_origination, :zip_destination)
def initialize
self.timeout = 5
self.testing = false
self.user_id = (ENV.fetch("USPS_USER_ID")) ? ENV.fetch("USPS_USER_ID") : nil
end
\ No newline at end of file