lib/extraspace/address.rb in extraspace-0.1.0 vs lib/extraspace/address.rb in extraspace-0.1.1
- old
+ new
@@ -24,20 +24,20 @@
attr_accessor :zip
# @param line1 [String]
# @param line2 [String]
# @param city [String]
- # @param state_abbreviation [String]
- # @param state_name [String]
- # @param postal_code [String]
+ # @param state [String]
+ # @param zip [String]
def initialize(line1:, line2:, city:, state:, zip:)
@line1 = line1
@line2 = line2
@city = city
@state = state
@zip = zip
end
+ # @return [String]
def inspect
props = [
"line1=#{@line1.inspect}",
"line2=#{@line2.inspect}",
"city=#{@city.inspect}",