Class: Twilio::Account

Inherits:
TwilioObject show all
Defined in:
lib/twilio/account.rb

Overview

The Account resource represents your Twilio Account.

Instance Method Summary collapse

Methods inherited from TwilioObject

#connected?, #initialize, method_missing

Constructor Details

This class inherits a constructor from Twilio::TwilioObject

Instance Method Details

#getObject



4
5
6
# File 'lib/twilio/account.rb', line 4

def get
  Twilio.get('')
end

#update_name(name) ⇒ Object



8
9
10
# File 'lib/twilio/account.rb', line 8

def update_name(name)
  Twilio.put('', :body => {:FriendlyName => name}) 
end