Class: Truefactor::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/truefactor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_originObject

Returns the value of attribute desktop_origin.



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

def desktop_origin
  @desktop_origin
end

#iconObject

Returns the value of attribute icon.



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

def icon
  @icon
end

#model_classObject

Returns the value of attribute model_class.



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

def model_class
  @model_class
end

#originObject

Returns the value of attribute origin.



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

def origin
  @origin
end

#origin_nameObject

Returns the value of attribute origin_name.



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

def origin_name
  @origin_name
end

#tfid_typeObject

Returns the value of attribute tfid_type.



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

def tfid_type
  @tfid_type
end

#web_originObject

Returns the value of attribute web_origin.



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

def web_origin
  @web_origin
end