Class: Gillbus::SessionLogin::Request
- Inherits:
-
BaseRequest
- Object
- BaseRequest
- Gillbus::SessionLogin::Request
- Defined in:
- lib/gillbus/session_login.rb
Instance Attribute Summary collapse
-
#locale ⇒ Object
Returns the value of attribute locale.
-
#password ⇒ Object
Returns the value of attribute password.
Instance Method Summary collapse
-
#initialize(password:, locale: nil) ⇒ Request
constructor
A new instance of Request.
- #params ⇒ Object
- #path ⇒ Object
Methods inherited from BaseRequest
Constructor Details
#initialize(password:, locale: nil) ⇒ Request
Returns a new instance of Request.
6 7 8 |
# File 'lib/gillbus/session_login.rb', line 6 def initialize(password:, locale: nil) super end |
Instance Attribute Details
#locale ⇒ Object
Returns the value of attribute locale.
11 12 13 |
# File 'lib/gillbus/session_login.rb', line 11 def locale @locale end |
#password ⇒ Object
Returns the value of attribute password.
10 11 12 |
# File 'lib/gillbus/session_login.rb', line 10 def password @password end |
Instance Method Details
#params ⇒ Object
17 18 19 |
# File 'lib/gillbus/session_login.rb', line 17 def params compact(locale: translated_locale(locale)) end |
#path ⇒ Object
13 14 15 |
# File 'lib/gillbus/session_login.rb', line 13 def path "/online2/sessionLogin/online/#{@password}" end |