diff --git a/lib/plivo/resources/maskingsession.rb b/lib/plivo/resources/maskingsession.rb index cc8612f..543e3ea 100644 --- a/lib/plivo/resources/maskingsession.rb +++ b/lib/plivo/resources/maskingsession.rb @@ -45,7 +45,7 @@ def to_s created_time: @created_time, modified_time: @modified_time, expiry_time: @expiry_time, - duration: @duration + duration: @duration, amount: @amount, call_time_limit: @call_time_limit, ring_timeout: @ring_timeout, diff --git a/lib/plivo/rest_client.rb b/lib/plivo/rest_client.rb index 1a73bd9..f1c29ec 100644 --- a/lib/plivo/rest_client.rb +++ b/lib/plivo/rest_client.rb @@ -9,7 +9,7 @@ class RestClient < BaseClient attr_reader :messages, :account, :subaccounts, :recordings attr_reader :pricings, :numbers, :calls, :conferences attr_reader :token - attr_reader :phone_numbers, :applications, :endpoints, :multipartycalls + attr_reader :phone_numbers, :applications, :endpoints, :multipartycalls, :maskingsession attr_reader :addresses, :identities attr_reader :call_feedback attr_reader :powerpacks @@ -56,6 +56,7 @@ def configure_interfaces @calls = Resources::CallInterface.new(self) @token = Resources::TokenInterface.new(self) @endpoints = Resources::EndpointInterface.new(self) + @maskingsession = Resources::MaskingSessionInterface.new(self) @applications = Resources::ApplicationInterface.new(self) @addresses = Resources::AddressInterface.new(self) @identities = Resources::IdentityInterface.new(self)