Class: Besepa::Activity

Inherits:
Resource show all
Includes:
Besepa::ApiCalls::List
Defined in:
lib/besepa/activity.rb

Constant Summary collapse

FIELDS =
[:id, :key, :created_at, :owner, :trackable]

Constants inherited from Resource

Resource::ALLOWED_NILS

Constants included from Utils::Request

Utils::Request::END_POINT_URL_PREFIX

Instance Attribute Summary

Attributes inherited from Resource

#activities

Class Method Summary collapse

Methods included from Besepa::ApiCalls::List

included

Methods inherited from Resource

#allowed_nils, #as_json, handle_errors, #initialize, klass_name, #klass_name, query_params, #serializable_hash, #to_hash

Methods included from Utils::Request

#delete, #get, #post, #put

Methods included from Utils::Connection

#connection

Constructor Details

This class inherits a constructor from Besepa::Resource

Class Method Details

.api_path(filters = {}) ⇒ Object



12
13
14
# File 'lib/besepa/activity.rb', line 12

def api_path(filters={})
  '/activities'
end