Class: DIDWW::Resource::Trunk

Inherits:
Base
  • Object
show all
Includes:
CONST
Defined in:
lib/didww/resources/trunk.rb,
lib/didww/resources/trunk/const.rb

Defined Under Namespace

Modules: CONST

Constant Summary

Constants included from CONST

CONST::CLI_FORMATS, CONST::CLI_FORMAT_E164, CONST::CLI_FORMAT_LOCAL, CONST::CLI_FORMAT_RAW, CONST::CONF_TYPES, CONST::CONF_TYPE_CLASSES, CONST::CONF_TYPE_H323, CONST::CONF_TYPE_IAX2, CONST::CONF_TYPE_PSTN, CONST::CONF_TYPE_SIP

Instance Method Summary collapse

Methods included from CONST

#cli_format_human, #configuration_type_human

Methods inherited from Base

#as_json_api

Constructor Details

#initialize(*args) ⇒ Trunk

Type: DateTime Description: Trunk created at DateTime



61
62
63
64
# File 'lib/didww/resources/trunk.rb', line 61

def initialize(*args)
  super
  attribute_will_change!(:configuration) if configuration
end