Exception: Apipie::NoDocumentedMethod
- Defined in:
- lib/apipie/errors.rb
Instance Method Summary collapse
-
#initialize(controller_name, method_name) ⇒ NoDocumentedMethod
constructor
A new instance of NoDocumentedMethod.
- #to_s ⇒ Object
Constructor Details
#initialize(controller_name, method_name) ⇒ NoDocumentedMethod
Returns a new instance of NoDocumentedMethod.
77 78 79 80 |
# File 'lib/apipie/errors.rb', line 77 def initialize(controller_name, method_name) @method_name = method_name @controller_name = controller_name end |
Instance Method Details
#to_s ⇒ Object
82 83 84 |
# File 'lib/apipie/errors.rb', line 82 def to_s "There is no documented method #{@controller_name}##{@method_name}" end |