Class: Userlist::Push::Relationship
- Includes:
- Operations::Delete, Operations::Push
- Defined in:
- lib/userlist/push/relationship.rb
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
Methods included from Operations::Delete
Methods included from Operations::Push
Methods inherited from Resource
association_names, #association_names, associations, #attribute_names, endpoint, #eql?, #for_context, from_payload, #hash, #identifier, #initialize, resource_name, #respond_to_missing?, #to_hash, #to_json
Constructor Details
This class inherits a constructor from Userlist::Push::Resource
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Userlist::Push::Resource
Instance Method Details
#push? ⇒ Boolean
10 11 12 |
# File 'lib/userlist/push/relationship.rb', line 10 def push? super && user&.push? && company&.push? end |