Class: Fuik::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



8
9
10
11
12
13
14
15
# File 'lib/fuik/configuration.rb', line 8

def initialize
  @events_controller_parent = "ActionController::Base"
  @webhooks_controller_parent = "ActionController::Base"
  @webhook_processing_job_class = "Fuik::WebhookProcessingJob"
  @providers_allowed = nil
  @title = "Webhooks"
  @color_scheme = :light
end

Instance Attribute Details

#color_schemeObject

Returns the value of attribute color_scheme.



5
6
7
# File 'lib/fuik/configuration.rb', line 5

def color_scheme
  @color_scheme
end

#events_controller_parentObject

Returns the value of attribute events_controller_parent.



5
6
7
# File 'lib/fuik/configuration.rb', line 5

def events_controller_parent
  @events_controller_parent
end

#providers_allowedObject

Returns the value of attribute providers_allowed.



5
6
7
# File 'lib/fuik/configuration.rb', line 5

def providers_allowed
  @providers_allowed
end

#titleObject

Returns the value of attribute title.



5
6
7
# File 'lib/fuik/configuration.rb', line 5

def title
  @title
end

#webhook_processing_job_classObject

Returns the value of attribute webhook_processing_job_class.



5
6
7
# File 'lib/fuik/configuration.rb', line 5

def webhook_processing_job_class
  @webhook_processing_job_class
end

#webhooks_controller_parentObject

Returns the value of attribute webhooks_controller_parent.



5
6
7
# File 'lib/fuik/configuration.rb', line 5

def webhooks_controller_parent
  @webhooks_controller_parent
end