class Plivo::Resources::NodeInterface
Public Class Methods
Source
# File lib/plivo/resources/nodes.rb, line 4 def initialize(client, resource_list_json=nil) super end
Calls superclass method
Plivo::Base::ResourceInterface::new
Public Instance Methods
Source
# File lib/plivo/resources/nodes.rb, line 8 def getNode(node_id, node_type) @_resource_uri = ['', 'v1', 'phlo', @_phlo_id, node_type, ''].join('/') @_resource_type = configure_node_type(node_type) perform_get(node_id) end
Private Instance Methods
Source
# File lib/plivo/resources/nodes.rb, line 15 def configure_node_type(node_type) case node_type when 'multi_party_call' PhloMultiPartyCall # when 'conference_bridge' # ConferenceBridge end end