Module: Twilio::Sandbox

Extended by:
Sandbox
Includes:
Resource
Included in:
Sandbox
Defined in:
lib/twilio/sandbox.rb

Instance Method Summary collapse

Methods included from Resource

#[], #[]=, #initialize, #inspect, #update_attributes

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Twilio::Resource

Instance Method Details

#attributesObject



6
7
8
# File 'lib/twilio/sandbox.rb', line 6

def attributes
  @attributes.empty? ? reload! : @attributes
end

#reload!Object



10
11
12
# File 'lib/twilio/sandbox.rb', line 10

def reload!
  handle_response get path
end