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