Class: Booker::V4::Models::Address
- Defined in:
- lib/booker/v4/models/address.rb
Direct Known Subclasses
Constant Summary
Constants inherited from Model
Constants inherited from Model
Instance Attribute Summary collapse
-
#City ⇒ Object
Returns the value of attribute City.
-
#Country ⇒ Object
Returns the value of attribute Country.
-
#State ⇒ Object
Returns the value of attribute State.
-
#Street1 ⇒ Object
Returns the value of attribute Street1.
-
#Street2 ⇒ Object
Returns the value of attribute Street2.
-
#Zip ⇒ Object
Returns the value of attribute Zip.
Method Summary
Methods included from Concerns::DateTimeConcern
#time_from_booker_datetime, #time_to_booker_datetime, #timezone_from_booker_offset!, #timezone_from_booker_timezone, #to_wday
Methods inherited from Model
constantize, from_hash, from_list, #initialize, #to_hash, #to_json
Constructor Details
This class inherits a constructor from Booker::Model
Instance Attribute Details
#City ⇒ Object
Returns the value of attribute City.
5 6 7 |
# File 'lib/booker/v4/models/address.rb', line 5 def City @City end |
#Country ⇒ Object
Returns the value of attribute Country.
5 6 7 |
# File 'lib/booker/v4/models/address.rb', line 5 def Country @Country end |
#State ⇒ Object
Returns the value of attribute State.
5 6 7 |
# File 'lib/booker/v4/models/address.rb', line 5 def State @State end |
#Street1 ⇒ Object
Returns the value of attribute Street1.
5 6 7 |
# File 'lib/booker/v4/models/address.rb', line 5 def Street1 @Street1 end |
#Street2 ⇒ Object
Returns the value of attribute Street2.
5 6 7 |
# File 'lib/booker/v4/models/address.rb', line 5 def Street2 @Street2 end |
#Zip ⇒ Object
Returns the value of attribute Zip.
5 6 7 |
# File 'lib/booker/v4/models/address.rb', line 5 def Zip @Zip end |