Class: Suitcase::Hotel::Session
- Inherits:
-
Struct
- Object
- Struct
- Suitcase::Hotel::Session
- Defined in:
- lib/suitcase/hotel/session.rb
Overview
Public: Hold user session data. A simple Struct provided to be passed in
to some of the EAN methods.
Instance Attribute Summary collapse
-
#currency_code ⇒ Object
Returns the value of attribute currency_code.
-
#id ⇒ Object
Returns the value of attribute id.
-
#ip_address ⇒ Object
Returns the value of attribute ip_address.
-
#locale ⇒ Object
Returns the value of attribute locale.
-
#user_agent ⇒ Object
Returns the value of attribute user_agent.
Instance Attribute Details
#currency_code ⇒ Object
Returns the value of attribute currency_code
5 6 7 |
# File 'lib/suitcase/hotel/session.rb', line 5 def currency_code @currency_code end |
#id ⇒ Object
Returns the value of attribute id
5 6 7 |
# File 'lib/suitcase/hotel/session.rb', line 5 def id @id end |
#ip_address ⇒ Object
Returns the value of attribute ip_address
5 6 7 |
# File 'lib/suitcase/hotel/session.rb', line 5 def ip_address @ip_address end |
#locale ⇒ Object
Returns the value of attribute locale
5 6 7 |
# File 'lib/suitcase/hotel/session.rb', line 5 def locale @locale end |
#user_agent ⇒ Object
Returns the value of attribute user_agent
5 6 7 |
# File 'lib/suitcase/hotel/session.rb', line 5 def user_agent @user_agent end |