Exception: Seatbelt::Errors::ApiMethodBlockRequiredError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/seatbelt/errors/errors.rb

Overview

Public: Will be raised if a method requires a block but isn’t passed to the method.

Instance Method Summary collapse

Instance Method Details

#messageObject



60
61
62
# File 'lib/seatbelt/errors/errors.rb', line 60

def message
  "The method you want to call requires a block."
end