Method: Podio::Reference.count_users_with_access
- Defined in:
- lib/podio/models/reference.rb
.count_users_with_access(ref_type, ref_id) ⇒ Object
46 47 48 |
# File 'lib/podio/models/reference.rb', line 46 def count_users_with_access(ref_type, ref_id) Podio.connection.get("/reference/#{ref_type}/#{ref_id}/accessible_by/count").body['count'] end |