Class: HyperTrack::User

Inherits:
SharedResource show all
Includes:
ApiOperations::UserAPI
Defined in:
lib/hypertrack/resources/user.rb

Constant Summary collapse

API_BASE_PATH =
"users/"
REQUIRED_FIELDS =
[:name]
VALID_ATTRIBUTE_VALUES =
{
  vehicle_type: {
    allowed: HyperTrack::SharedResource::VALID_VEHICLE_TYPES
  }
}

Constants inherited from SharedResource

SharedResource::VALID_VEHICLE_TYPES

Instance Attribute Summary

Attributes inherited from SharedResource

#id

Method Summary

Methods included from ApiOperations::UserAPI

#assign_actions, #mileage, #placeline, #update

Methods inherited from SharedResource

#[], #[]=, get_class_name, #initialize, #keys, #to_json, #values

Methods included from ApiOperations::Common::Create

#create

Methods included from ApiOperations::Common::Retrieve

#retrieve

Methods included from ApiOperations::Common::List

#list

Methods included from ApiOperations::Common::Nearby

#nearby

Methods included from ApiOperations::Common::RetrieveByUniqueId

#retrieve_by_unique_id

Methods included from ApiOperations::Common::Update

#update

Methods included from ApiOperations::Common::Get

#get, #get_list

Methods included from ApiOperations::Common::Patch

#patch

Constructor Details

This class inherits a constructor from HyperTrack::SharedResource

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class HyperTrack::SharedResource