Class: DeepSecurity::TransportObject Abstract

Inherits:
SavonHelper::CachingObject show all
Defined in:
lib/deepsecurity/transport_object.rb

Overview

This class is abstract.
Note:

It defines it's own DSL to specify attributes, caching and operation. This allows you to completely hide the type-conversion needed by Savon behind a regular Ruby object.

Transport objects are modeled after Deep Security Manager web interface objects and configuration groups. These transport objects can be constructed as new or retrieved from the Manager by calling the appropriate web method.

A Web Service definition may declare object classes that inherit properties from other base object classes, so only the relevant object classes are covered in this section. If during development, you encounter any WSDL-defined object classes that are not documented, they are likely inherited base object classes or response object classes that are not directly used by any Web Methods and do not have any direct value.

Constant Summary

Constants inherited from SavonHelper::MappingObject

SavonHelper::MappingObject::BLACK_LIST

Instance Attribute Summary

Attributes inherited from SavonHelper::MappingObject

#interface

Attributes included from SavonHelper::DSL

#alias_accessor

Instance Method Summary collapse

Methods inherited from SavonHelper::CachingObject

all_cache_aspects, #cachable?, #cache, cache_aspects, cache_by_aspect, cache_key, #cache_key, from_savon, #store_in_cache

Methods inherited from SavonHelper::MappingObject

all_type_mappings, defined_attributes, from_savon, has_attribute_chain, #initialize, #to_json, #to_s, #to_savon, type_mappings

Methods included from SavonHelper::DSL

#array_boolean_accessor, #array_datetime_accessor, #array_double_accessor, #array_enum_accessor, #array_float__accessor, #array_integer_accessor, #array_ip_address_accessor, #array_object_accessor, #array_string_accessor, #attr_boolean_accessor, #attr_datetime_accessor, #attr_double_accessor, #attr_enum_accessor, #attr_float_accessor, #attr_integer_accessor, #attr_ip_address_accessor, #attr_object_accessor, #attr_string_accessor, #hint_object_accessor

Constructor Details

This class inherits a constructor from SavonHelper::MappingObject

Instance Method Details

#managerObject



19
20
21
# File 'lib/deepsecurity/transport_object.rb', line 19

def manager
  interface.manager
end