Class: Stenographer::Output

Inherits:
ApplicationRecord show all
Defined in:
app/models/stenographer/output.rb

Instance Method Summary collapse

Instance Method Details

#configuration_hashObject



10
11
12
# File 'app/models/stenographer/output.rb', line 10

def configuration_hash
  configuration.present? ? JSON.parse(configuration, symbolize_names: true) : {}
end

#filters_hashObject



14
15
16
# File 'app/models/stenographer/output.rb', line 14

def filters_hash
  filters.present? ? JSON.parse(filters, symbolize_names: true) : {}
end

#providerObject



18
19
20
# File 'app/models/stenographer/output.rb', line 18

def provider
  authentication.provider
end