Class: Plivo::Resources::Profile
- Inherits:
-
Base::Resource
- Object
- Base::Resource
- Plivo::Resources::Profile
- Defined in:
- lib/plivo/resources/profile.rb
Constant Summary
Constants included from Utils
Instance Attribute Summary
Attributes inherited from Base::Resource
Instance Method Summary collapse
-
#initialize(client, options = nil) ⇒ Profile
constructor
A new instance of Profile.
- #to_s ⇒ Object
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) ⇒ Profile
Returns a new instance of Profile.
5 6 7 8 9 |
# File 'lib/plivo/resources/profile.rb', line 5 def initialize(client, = nil) @_name = 'Profile' @_identifier_string = 'profile_uuid' super end |
Instance Method Details
#to_s ⇒ Object
11 12 13 14 15 16 |
# File 'lib/plivo/resources/profile.rb', line 11 def to_s { api_id: @api_id, profile: @profile }.to_s end |