Class: Informatics::Application

Inherits:
Object
  • Object
show all
Includes:
Globals
Defined in:
lib/informatics/lib/informatics/application.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Globals

#application, #application=, #defaults, #defaults=, #global_searchable_classes, #search_options

Instance Attribute Details

#authenticationObject

Returns the value of attribute authentication


8
9
10
# File 'lib/informatics/lib/informatics/application.rb', line 8

def authentication
  @authentication
end

#descriptionObject

Returns the value of attribute description


8
9
10
# File 'lib/informatics/lib/informatics/application.rb', line 8

def description
  @description
end

#home_pageObject

Returns the value of attribute home_page


8
9
10
# File 'lib/informatics/lib/informatics/application.rb', line 8

def home_page
  @home_page
end

#nameObject

Returns the value of attribute name


8
9
10
# File 'lib/informatics/lib/informatics/application.rb', line 8

def name
  @name
end

#titleObject

Returns the value of attribute title


8
9
10
# File 'lib/informatics/lib/informatics/application.rb', line 8

def title
  @title
end

Class Method Details

.configure {|a| ... } ⇒ Object

Yields:

  • (a)

10
11
12
13
14
# File 'lib/informatics/lib/informatics/application.rb', line 10

def self.configure
  a = new
  yield a
  @@application = a
end

Instance Method Details

#authenticate_via(type) ⇒ Object


20
21
22
# File 'lib/informatics/lib/informatics/application.rb', line 20

def authenticate_via(type)
  @authentication = type
end

#described_as(desc) ⇒ Object


28
29
30
# File 'lib/informatics/lib/informatics/application.rb', line 28

def described_as(desc)
  @description = desc
end

32
33
34
# File 'lib/informatics/lib/informatics/application.rb', line 32

def home_page_link(link)
  @home_page = link
end

#named(name) ⇒ Object


16
17
18
# File 'lib/informatics/lib/informatics/application.rb', line 16

def named(name)
  @name = name
end

#subtitle(t) ⇒ Object


24
25
26
# File 'lib/informatics/lib/informatics/application.rb', line 24

def subtitle(t)
  @title = t
end