restforce 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of restforce might be problematic. Click here for more details.

@@ -92,7 +92,7 @@ module Restforce
92
92
  #
93
93
  # Returns the Hash representation of the describe call.
94
94
  def describe(sobject)
95
- response = api_get "sobject/#{sobject.to_s}/describe"
95
+ response = api_get "sobjects/#{sobject.to_s}/describe"
96
96
  response.body
97
97
  end
98
98
 
@@ -1,3 +1,3 @@
1
1
  module Restforce
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
@@ -82,7 +82,7 @@ shared_examples_for 'methods' do
82
82
 
83
83
  describe '.describe' do
84
84
  before do
85
- @request = stub_api_request 'sobject/Whizbang/describe', with: 'sobject/sobject_describe_success_response'
85
+ @request = stub_api_request 'sobjects/Whizbang/describe', with: 'sobject/sobject_describe_success_response'
86
86
  end
87
87
 
88
88
  after do
@@ -93,7 +93,7 @@ describe Restforce::SObject do
93
93
 
94
94
  describe '.describe' do
95
95
  before do
96
- @request = stub_api_request 'sobject/Whizbang/describe', with: 'sobject/sobject_describe_success_response'
96
+ @request = stub_api_request 'sobjects/Whizbang/describe', with: 'sobject/sobject_describe_success_response'
97
97
  end
98
98
 
99
99
  after do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restforce
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: