Class: Plivo::Base::Resource
- Inherits:
-
Object
- Object
- Plivo::Base::Resource
- Includes:
- Utils
- Defined in:
- lib/plivo/base/resource.rb
Direct Known Subclasses
SecondaryResource, Resources::Account, Resources::Address, Resources::Application, Resources::Brand, Resources::Call, Resources::CallFeedback, Resources::Campaign, Resources::ComplianceApplication, Resources::ComplianceDocument, Resources::ComplianceDocumentType, Resources::ComplianceRequirement, Resources::Conference, Resources::EndUser, Resources::Endpoint, Resources::Identity, Resources::Media, Resources::Message, Resources::MultiPartyCall, Resources::Node, Resources::Number, Resources::NumberPool, Resources::Numbers, Resources::Phlo, Resources::PhloMember, Resources::PhoneNumber, Resources::Powerpack, Resources::Pricing, Resources::Profile, Resources::Recording, Resources::Session, Resources::Shortcode, Resources::Subaccount, Resources::Token, Resources::Tollfree, Resources::TollfreeVerification, Resources::Verify
Constant Summary
Constants included from Utils
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(client, options = nil) ⇒ Resource
constructor
A new instance of Resource.
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, options = nil) ⇒ Resource
Returns a new instance of Resource.
7 8 9 10 11 12 |
# File 'lib/plivo/base/resource.rb', line 7 def initialize(client, = nil) configure_client(client) () if configure_resource_uri @_is_voice_request = false end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
4 5 6 |
# File 'lib/plivo/base/resource.rb', line 4 def id @id end |