Class: Plivo::Resources::PhloInterface
- Inherits:
-
Base::ResourceInterface
- Object
- Base::ResourceInterface
- Plivo::Resources::PhloInterface
- Defined in:
- lib/plivo/resources/phlos.rb
Constant Summary
Constants included from Utils
Instance Method Summary collapse
- #get(phlo_id) ⇒ Object
-
#initialize(client, resource_list_json = nil) ⇒ PhloInterface
constructor
A new instance of PhloInterface.
Methods included from Utils
expected_type?, expected_value?, raise_invalid_request, valid_account?, valid_mainaccount?, valid_param?, valid_signature?, valid_subaccount?
Constructor Details
#initialize(client, resource_list_json = nil) ⇒ PhloInterface
Returns a new instance of PhloInterface.
42 43 44 45 46 |
# File 'lib/plivo/resources/phlos.rb', line 42 def initialize(client, resource_list_json = nil) @_name = 'phlo' @_resource_type = Phlo super end |
Instance Method Details
#get(phlo_id) ⇒ Object
48 49 50 |
# File 'lib/plivo/resources/phlos.rb', line 48 def get(phlo_id) perform_get(phlo_id) end |