Class: Sendgrid::API::Entities::ResponseRemove
- Defined in:
- lib/sendgrid/api/entities/response_remove.rb
Instance Attribute Summary
Attributes inherited from Entity
Instance Method Summary collapse
-
#any? ⇒ Boolean
Return true if one or more removals were made.
-
#none? ⇒ Boolean
Return true if no removals were made.
Methods inherited from Entity
#as_json, attribute, attributes, clear_attributes, from_response, #initialize, #method_missing, #respond_to?, #to_json
Constructor Details
This class inherits a constructor from Sendgrid::API::Entities::Entity
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Sendgrid::API::Entities::Entity
Instance Method Details
#any? ⇒ Boolean
Return true if one or more removals were made
11 12 13 |
# File 'lib/sendgrid/api/entities/response_remove.rb', line 11 def any? removed > 0 end |
#none? ⇒ Boolean
Return true if no removals were made
16 17 18 |
# File 'lib/sendgrid/api/entities/response_remove.rb', line 16 def none? !any? end |