Class: RubyAsterisk::ARI::Resources::Endpoint

Inherits:
Base
  • Object
show all
Defined in:
lib/ruby-asterisk/ari/resources/endpoint.rb

Overview

Represents an ARI Endpoint resource (a SIP/PJSIP/DAHDI endpoint).

Instance Attribute Summary

Attributes inherited from Base

#client, #data

Instance Method Summary collapse

Methods inherited from Base

#id, #initialize

Constructor Details

This class inherits a constructor from RubyAsterisk::ARI::Resources::Base

Instance Method Details

#resourceObject



12
13
14
# File 'lib/ruby-asterisk/ari/resources/endpoint.rb', line 12

def resource
  data['resource']
end

#stateObject



16
17
18
# File 'lib/ruby-asterisk/ari/resources/endpoint.rb', line 16

def state
  data['state']
end

#technologyObject



8
9
10
# File 'lib/ruby-asterisk/ari/resources/endpoint.rb', line 8

def technology
  data['technology']
end