Class: Truefactor::Configuration
- Inherits:
-
Object
- Object
- Truefactor::Configuration
- Defined in:
- lib/truefactor.rb
Instance Attribute Summary collapse
-
#desktop_origin ⇒ Object
Returns the value of attribute desktop_origin.
-
#icon ⇒ Object
Returns the value of attribute icon.
-
#model_class ⇒ Object
Returns the value of attribute model_class.
-
#origin ⇒ Object
Returns the value of attribute origin.
-
#origin_name ⇒ Object
Returns the value of attribute origin_name.
-
#tfid_type ⇒ Object
Returns the value of attribute tfid_type.
-
#web_origin ⇒ Object
Returns the value of attribute web_origin.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
30 31 32 33 34 35 |
# File 'lib/truefactor.rb', line 30 def initialize @web_origin = 'https://truefactor.io' @desktop_origin = 'truefactor://' @tfid_type = :email @origin_name = 'Truefactorized app' end |
Instance Attribute Details
#desktop_origin ⇒ Object
Returns the value of attribute desktop_origin.
28 29 30 |
# File 'lib/truefactor.rb', line 28 def desktop_origin @desktop_origin end |
#icon ⇒ Object
Returns the value of attribute icon.
28 29 30 |
# File 'lib/truefactor.rb', line 28 def icon @icon end |
#model_class ⇒ Object
Returns the value of attribute model_class.
28 29 30 |
# File 'lib/truefactor.rb', line 28 def model_class @model_class end |
#origin ⇒ Object
Returns the value of attribute origin.
28 29 30 |
# File 'lib/truefactor.rb', line 28 def origin @origin end |
#origin_name ⇒ Object
Returns the value of attribute origin_name.
28 29 30 |
# File 'lib/truefactor.rb', line 28 def origin_name @origin_name end |
#tfid_type ⇒ Object
Returns the value of attribute tfid_type.
28 29 30 |
# File 'lib/truefactor.rb', line 28 def tfid_type @tfid_type end |
#web_origin ⇒ Object
Returns the value of attribute web_origin.
28 29 30 |
# File 'lib/truefactor.rb', line 28 def web_origin @web_origin end |