Sha256: 750d687229cb0de97f48bf384daaf7cac6ce5e11705ebeefd2b5519c037cadb2

Contents?: true

Size: 566 Bytes

Versions: 16

Compression:

Stored size: 566 Bytes

Contents

require 'spec_helper'

describe Twilio::REST::IpMessagingClient do
  before do
    @client = Twilio::REST::IpMessagingClient.new('AC123', 'foobar')
  end

  it 'should set up a services resources object' do
    expect(@client).to respond_to(:services)
    expect(@client.services.instance_variable_get('@path')).to eq(
      '/v1/Services'
    )
  end

  it 'should set up a credentials resources object' do
    expect(@client).to respond_to(:credentials)
    expect(@client.credentials.instance_variable_get('@path')).to eq(
      '/v1/Credentials'
    )
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
twilio-ruby-4.13.0 spec/rest/ip_messaging_client_spec.rb
twilio-ruby-4.12.1 spec/rest/ip_messaging_client_spec.rb
twilio-ruby-4.11.1 spec/rest/ip_messaging_client_spec.rb
twilio-ruby-4.11.0 spec/rest/ip_messaging_client_spec.rb
twilio-ruby-4.10.0.edge spec/rest/ip_messaging_client_spec.rb
twilio-ruby-4.10.0 spec/rest/ip_messaging_client_spec.rb
twilio-ruby-4.9.1 spec/rest/ip_messaging_client_spec.rb
twilio-ruby-4.9.1.edge spec/rest/ip_messaging_client_spec.rb
twilio-ruby-4.9.0 spec/rest/ip_messaging_client_spec.rb
twilio-ruby-4.9.0.edge spec/rest/ip_messaging_client_spec.rb
twilio-ruby-4.8.3.edge spec/rest/ip_messaging_client_spec.rb
twilio-ruby-4.8.2.edge spec/rest/ip_messaging_client_spec.rb
twilio-ruby-4.8.1.edge spec/rest/ip_messaging_client_spec.rb
twilio-ruby-4.8.0.edge spec/rest/ip_messaging_client_spec.rb
twilio-ruby-4.7.0.edge spec/rest/ip_messaging_client_spec.rb
twilio-ruby-4.6.0.edge spec/rest/ip_messaging_client_spec.rb