twilio-ruby 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/examples.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  @account_sid = 'AC043dcf9844e04758bc3a36a84c29761'
4
4
  @auth_token = '62ea81de3a5b414154eb263595357c69'
5
5
  # set up a client, without any http requests
6
- @client = Twilio::Client.new(@account_sid, @auth_token)
6
+ @client = Twilio::REST::Client.new(@account_sid, @auth_token)
7
7
 
8
8
  ################ ACCOUNTS ################
9
9
 
@@ -3,7 +3,7 @@ module Twilio
3
3
  class Local < ListResource
4
4
  def initialize(uri, client)
5
5
  @resource_name = 'available_phone_numbers'
6
- @instance_class = Twilio.const_get 'AvailablePhoneNumber'
6
+ @instance_class = Twilio::REST.const_get 'AvailablePhoneNumber'
7
7
  @uri, @client = uri, client
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twilio-ruby
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andrew Benton
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-15 00:00:00 -08:00
18
+ date: 2011-02-16 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency