Method: Licensed::AppConfiguration#sources
- Defined in:
- lib/licensed/configuration.rb
#sources ⇒ Object
Returns an array of enabled app sources
62 63 64 65 66 |
# File 'lib/licensed/configuration.rb', line 62 def sources @sources ||= Licensed::Sources::Source.sources .select { |source_class| enabled?(source_class.type) } .map { |source_class| source_class.new(self) } end |