Class: Podio::Friend

Inherits:
ActivePodio::Base show all
Defined in:
lib/podio/models/friend.rb

Instance Attribute Summary

Attributes inherited from ActivePodio::Base

#attributes

Class Method Summary collapse

Methods inherited from ActivePodio::Base

#==, #[], #[]=, #api_friendly_ref_type, #as_json, collection, delegate_to_hash, has_many, has_one, #hash, #initialize, #initialize_attributes, klass_from_string, list, member, #new_record?, output_attribute_as_json, #parent_model, #persisted?, property, #to_param

Constructor Details

This class inherits a constructor from ActivePodio::Base

Class Method Details

.delete(user_ids) ⇒ Object



6
7
8
# File 'lib/podio/models/friend.rb', line 6

def delete(user_ids)
  Podio.connection.delete("/friend/#{user_ids}").status
end