Class: Booker::Models::Address

Inherits:
Model
  • Object
show all
Defined in:
lib/booker/models/address.rb

Direct Known Subclasses

ShippingAddress

Instance Attribute Summary collapse

Method Summary

Methods inherited from Model

constantize, from_hash, from_list, #initialize, time_from_booker_datetime, time_to_booker_datetime, timezone_from_booker_offset!, timezone_from_booker_timezone, #to_hash, #to_json, to_wday

Constructor Details

This class inherits a constructor from Booker::Models::Model

Instance Attribute Details

#CityObject

Returns the value of attribute City.



4
5
6
# File 'lib/booker/models/address.rb', line 4

def City
  @City
end

#CountryObject

Returns the value of attribute Country.



4
5
6
# File 'lib/booker/models/address.rb', line 4

def Country
  @Country
end

#StateObject

Returns the value of attribute State.



4
5
6
# File 'lib/booker/models/address.rb', line 4

def State
  @State
end

#Street1Object

Returns the value of attribute Street1.



4
5
6
# File 'lib/booker/models/address.rb', line 4

def Street1
  @Street1
end

#Street2Object

Returns the value of attribute Street2.



4
5
6
# File 'lib/booker/models/address.rb', line 4

def Street2
  @Street2
end

#ZipObject

Returns the value of attribute Zip.



4
5
6
# File 'lib/booker/models/address.rb', line 4

def Zip
  @Zip
end