Sha256: 2caa5800365e48891744316bcbb062df8d01a2c89facac41107032c2556a9b35
Contents?: true
Size: 742 Bytes
Versions: 2
Compression:
Stored size: 742 Bytes
Contents
module Ratchetio class Configuration attr_accessor :access_token attr_accessor :environment attr_accessor :root attr_accessor :branch attr_accessor :framework attr_accessor :endpoint attr_accessor :exception_level_filters attr_accessor :logger DEFAULT_ENDPOINT = "https://submit.ratchet.io/api/1/item/" def initialize @endpoint = DEFAULT_ENDPOINT @framework = 'Plain' @exception_level_filters = { 'ActiveRecord::RecordNotFound' => 'warning', 'AbstractController::ActionNotFound' => 'warning', 'ActionController::RoutingError' => 'warning' } end # allow params to be read like a hash def [](option) send(option) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ratchetio-0.3.2 | lib/ratchetio/configuration.rb |
ratchetio-0.3.1 | lib/ratchetio/configuration.rb |