Class: Informatics::Application

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

Overview

rubocop:todo Style/Documentation

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.


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

def authentication
  @authentication
end

#descriptionObject

Returns the value of attribute description.


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

def description
  @description
end

#home_pageObject

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

#nameObject

Returns the value of attribute name.


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

def name
  @name
end

#titleObject

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

Yields:

  • (a)

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

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