Class: Podio::Filter

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

Instance Attribute Summary

Attributes inherited from ActivePodio::Base

#attributes, #error_code, #error_message, #error_parameters, #error_propagate

Class Method Summary collapse

Methods inherited from ActivePodio::Base

#==, #[], #[]=, #as_json, collection, delegate_to_hash, handle_api_errors_for, has_many, has_one, #hash, #initialize, list, member, #new_record?, #persisted?, property, #to_param

Constructor Details

This class inherits a constructor from ActivePodio::Base

Class Method Details

.find_last(app_id) ⇒ Object



7
8
9
# File 'lib/podio/models/filter.rb', line 7

def find_last(app_id)
  member Podio.connection.get("/filter/app/#{app_id}/last").body
end