Class: Informatics::Application
- Inherits:
-
Object
- Object
- Informatics::Application
- Includes:
- Globals
- Defined in:
- lib/informatics/lib/informatics/application.rb
Instance Attribute Summary collapse
-
#authentication ⇒ Object
Returns the value of attribute authentication.
-
#description ⇒ Object
Returns the value of attribute description.
-
#home_page ⇒ Object
Returns the value of attribute home_page.
-
#name ⇒ Object
Returns the value of attribute name.
-
#title ⇒ Object
Returns the value of attribute title.
Class Method Summary collapse
Instance Method Summary collapse
- #authenticate_via(type) ⇒ Object
- #described_as(desc) ⇒ Object
- #home_page_link(link) ⇒ Object
- #named(name) ⇒ Object
- #subtitle(t) ⇒ Object
Methods included from Globals
#application, #application=, #defaults, #defaults=, #global_searchable_classes, #search_options
Instance Attribute Details
#authentication ⇒ Object
Returns the value of attribute authentication.
9 10 11 |
# File 'lib/informatics/lib/informatics/application.rb', line 9 def authentication @authentication end |
#description ⇒ Object
Returns the value of attribute description.
9 10 11 |
# File 'lib/informatics/lib/informatics/application.rb', line 9 def description @description end |
#home_page ⇒ Object
Returns the value of attribute home_page.
9 10 11 |
# File 'lib/informatics/lib/informatics/application.rb', line 9 def home_page @home_page end |
#name ⇒ Object
Returns the value of attribute name.
9 10 11 |
# File 'lib/informatics/lib/informatics/application.rb', line 9 def name @name end |
#title ⇒ Object
Returns the value of attribute title.
9 10 11 |
# File 'lib/informatics/lib/informatics/application.rb', line 9 def title @title end |
Class Method Details
.configure {|a| ... } ⇒ Object
11 12 13 14 15 |
# File 'lib/informatics/lib/informatics/application.rb', line 11 def self.configure a = new yield a @@application = a end |
Instance Method Details
#authenticate_via(type) ⇒ Object
21 22 23 |
# File 'lib/informatics/lib/informatics/application.rb', line 21 def authenticate_via(type) @authentication = type end |
#described_as(desc) ⇒ Object
29 30 31 |
# File 'lib/informatics/lib/informatics/application.rb', line 29 def described_as(desc) @description = desc end |
#home_page_link(link) ⇒ Object
33 34 35 |
# File 'lib/informatics/lib/informatics/application.rb', line 33 def home_page_link(link) @home_page = link end |
#named(name) ⇒ Object
17 18 19 |
# File 'lib/informatics/lib/informatics/application.rb', line 17 def named(name) @name = name end |
#subtitle(t) ⇒ Object
25 26 27 |
# File 'lib/informatics/lib/informatics/application.rb', line 25 def subtitle(t) @title = t end |