Class: YDIM::Html::Util::Session
- Inherits:
-
SBSM::Session
- Object
- SBSM::Session
- YDIM::Html::Util::Session
show all
- Defined in:
- lib/ydim/html/util/session.rb
Constant Summary
collapse
- DEFAULT_LANGUAGE =
'de'
- DEFAULT_STATE =
Html::State::Init
- LOOKANDFEEL =
Html::Custom::Lookandfeel
Instance Method Summary
collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(meth, *args) ⇒ Object
21
22
23
|
# File 'lib/ydim/html/util/session.rb', line 21
def method_missing(meth, *args)
@app.send(meth, *args)
end
|
Instance Method Details
#invoices ⇒ Object
18
19
20
|
# File 'lib/ydim/html/util/session.rb', line 18
def invoices
@app.invoice_infos(user_input(:status) || 'is_open')
end
|
#login ⇒ Object
15
16
17
|
# File 'lib/ydim/html/util/session.rb', line 15
def login
@app.login(user_input(:email), user_input(:pass))
end
|