Class: Plivo::Base::ResourceInterface
- Inherits:
-
Object
- Object
- Plivo::Base::ResourceInterface
- Includes:
- Utils
- Defined in:
- lib/plivo/base/resource_interface.rb
Direct Known Subclasses
Resources::AccountInterface, Resources::AddressInterface, Resources::ApplicationInterface, Resources::BrandInterface, Resources::CallFeedbackInterface, Resources::CallInterface, Resources::CampaignInterface, Resources::ComplianceApplicationsInterface, Resources::ComplianceDocumentTypesInterface, Resources::ComplianceDocumentsInterface, Resources::ComplianceRequirementsInterface, Resources::ConferenceInterface, Resources::EndUsersInterface, Resources::EndpointInterface, Resources::IdentityInterface, Resources::LookupInterface, Resources::MediaInterface, Resources::MessagesInterface, Resources::MultiPartyCallInterface, Resources::NodeInterface, Resources::NumberInterface, Resources::PhloInterface, Resources::PhoneNumberInterface, Resources::PowerpackInterface, Resources::PricingInterface, Resources::ProfileInterface, Resources::RecordingInterface, Resources::SubaccountInterface, Resources::TokenInterface
Constant Summary
Constants included from Utils
Instance Method Summary collapse
-
#initialize(client, resource_list_json = nil) ⇒ ResourceInterface
constructor
A new instance of ResourceInterface.
Methods included from Utils
GetSortedQueryParamString?, compute_signatureV3?, expected_type?, expected_value?, generate_url?, getMapFromQueryString?, is_one_among_string_url?, multi_valid_param?, raise_invalid_request, valid_account?, valid_date_format?, valid_mainaccount?, valid_multiple_destination_integers?, valid_multiple_destination_nos?, valid_param?, valid_range?, valid_signature?, valid_signatureV3?, valid_subaccount?, valid_url?
Constructor Details
#initialize(client, resource_list_json = nil) ⇒ ResourceInterface
Returns a new instance of ResourceInterface.
5 6 7 8 9 10 |
# File 'lib/plivo/base/resource_interface.rb', line 5 def initialize(client, resource_list_json = nil) configure_client(client) configure_resource_uri parse_and_set(resource_list_json) if resource_list_json @_is_voice_request = false end |