Class: Userlist::Push::Relationship
- Includes:
- Operations::Create, Operations::Delete
- 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::Create
Methods inherited from Resource
#attribute_names, endpoint, #eql?, from_payload, #hash, #identifier, #initialize, #relationship_names, relationship_names, relationships, 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 |