Method: VerticalResponse::API::Resource.exclude_methods
- Defined in:
- lib/verticalresponse/api/resource.rb
.exclude_methods(*methods) ⇒ Object
Exclude methods that are not supported by the current resource API. This applies for common methods that are shared across all classes:
- Class methods: all, find, create
- Instance methods: update, delete, stats
22 23 24 |
# File 'lib/verticalresponse/api/resource.rb', line 22 def exclude_methods(*methods) @excluded_methods = methods end |