Class: RouteNGNClient::RemoteModel

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

Defined Under Namespace

Modules: ClassMethods

Constant Summary collapse

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

Instance Attribute Summary

Attributes included from ClassMethods

#resource_attributes

Attributes inherited from Model

#attributes, #request_account_id

Attributes included from Model::ClassMethods

#children, #only_children, #parents

Method Summary

Methods included from ClassMethods

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

Methods inherited from Model

#initialize, #to_hash, #to_json, #to_log

Methods included from Model::ClassMethods

#belongs_to, #from_hash, #from_json, #has_many, #has_one

Methods included from Logging

#init_logger, #logger

Constructor Details

This class inherits a constructor from RouteNGNClient::Model