Class: Loggly::RemoteModel

Inherits:
Model
  • Object
show all
Extended by:
ClassMethods
Defined in:
lib/loggly/remote_model.rb

Direct Known Subclasses

Event, Search

Defined Under Namespace

Modules: ClassMethods

Constant Summary collapse

DEFAULT_RESOURCE_ATTRIBUTES =
{
  :path_base => nil,
  :path_ext => nil,
  :index_method => nil,
  :collection_name => '',
  :per_page => 25,
  :request_options => {}
}

Constants inherited from Model

Model::METADATA_KEYS

Instance Attribute Summary

Attributes included from ClassMethods

#resource_attributes

Attributes inherited from Model

#attributes, #response

Method Summary

Methods included from ClassMethods

all, collection_name, create!, find, index_method, path_base, path_ext, prepare_params, set_resource_attributes, where

Methods inherited from Model

#initialize, #to_hash, #to_json, #to_log

Methods included from Model::ClassMethods

#from_hash, #from_json

Methods included from Logging

#init_logger, #logger, #logger=

Constructor Details

This class inherits a constructor from Loggly::Model