class Plivo::Resources::Phlo
Public Class Methods
Source
# File lib/plivo/resources/phlos.rb, line 7 def initialize(client, options = nil) @_name = 'phlo' @_identifier_string = 'phlo_id' super end
Calls superclass method
Plivo::Base::Resource::new
Public Instance Methods
Source
# File lib/plivo/resources/phlos.rb, line 23 def multi_party_call(node_id) nodeInterface = NodeInterface.new(@_client, {_phlo_id: @id}) nodeInterface.getNode(node_id, 'multi_party_call') end
Source
# File lib/plivo/resources/phlos.rb, line 33 def run(params=nil) @_resource_uri = ['', 'v1', 'account', @_client.auth_id, @_name, @id, ''].join('/') perform_run(params) end
def conference_bridge(node_id)
nodeInterface = NodeInterface.new(@_client, {_phlo_id: @id}) nodeInterface.getNode(node_id, 'conference_bridge')
end
Source
# File lib/plivo/resources/phlos.rb, line 13 def to_s { api_id: @api_id, phlo_id: @phlo_id, name: @name, created_on: @created_on, phlo_run_id: @phlo_run_id }.to_s end