class Plivo::Resources::Pricing

Public Class Methods

new(client, options = nil) click to toggle source
Calls superclass method Plivo::Base::Resource::new
# File lib/plivo/resources/pricings.rb, line 5
def initialize(client, options = nil)
  @_name = 'Pricing'
  @_identifier_string = 'country_iso'
  super
end

Public Instance Methods

to_s() click to toggle source
# File lib/plivo/resources/pricings.rb, line 11
def to_s
  {
    api_id: @api_id,
    country: @country,
    country_code: @country_code,
    country_iso: @country_iso,
    message: @message,
    phone_numbers: @phone_numbers,
    voice: @voice
  }.to_s
end