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_FLAVOR =
"ydim"
- 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
23
24
25
|
# File 'lib/ydim/html/util/session.rb', line 23
def method_missing(meth, *args)
@app.send(meth, *args)
end
|
Instance Method Details
#invoices ⇒ Object
20
21
22
|
# File 'lib/ydim/html/util/session.rb', line 20
def invoices
@app.invoice_infos(user_input(:status) || 'is_open')
end
|
#login ⇒ Object
17
18
19
|
# File 'lib/ydim/html/util/session.rb', line 17
def login
@app.login(user_input(:email), user_input(:pass))
end
|