Sha256: 5f90f465424827aa02f1b159964b94dba83c924a41cf5892b0a728656f93b469

Contents?: true

Size: 235 Bytes

Versions: 28

Compression:

Stored size: 235 Bytes

Contents

module Validator
  def validates(*attributes)
    attributes.each do |attribute|
      abort "You didn't provide #{attribute.to_s.upcase}"\
        " so no API request was made." unless Runner.options.send(attribute)
    end
  end
end

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
airbrakeV4rails5-4.3.8 lib/airbrake/cli/validator.rb
airbrake-4.3.8 lib/airbrake/cli/validator.rb
airbrake-4.3.7 lib/airbrake/cli/validator.rb
airbrake-4.3.6 lib/airbrake/cli/validator.rb
airbrake-4.3.5 lib/airbrake/cli/validator.rb
airbrake-4.3.4 lib/airbrake/cli/validator.rb
airbrake-4.3.3 lib/airbrake/cli/validator.rb
airbrake-4.3.2 lib/airbrake/cli/validator.rb
airbrake-4.3.1 lib/airbrake/cli/validator.rb
airbrake-4.3.0 lib/airbrake/cli/validator.rb
airbrake-4.2.1 lib/airbrake/cli/validator.rb
airbrake-4.2.0 lib/airbrake/cli/validator.rb
airbrake-4.1.0 lib/airbrake/cli/validator.rb
airbrake-4.0.0 lib/airbrake/cli/validator.rb
airbrake-3.2.1 lib/airbrake/cli/validator.rb
airbrake-3.2.0 lib/airbrake/cli/validator.rb
airbrake-3.1.17 lib/airbrake/cli/validator.rb
airbrake-3.1.16 lib/airbrake/cli/validator.rb
airbrake-3.1.15 lib/airbrake/cli/validator.rb
airbrake-3.1.14 lib/airbrake/cli/validator.rb