Class: Twilio::Account
- Inherits:
-
TwilioObject
- Object
- TwilioObject
- Twilio::Account
- 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
#get ⇒ Object
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 |