lib/google/cloud/pubsub/credentials.rb in google-cloud-pubsub-1.10.0 vs lib/google/cloud/pubsub/credentials.rb in google-cloud-pubsub-2.0.0
- old
+ new
@@ -12,11 +12,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
require "googleauth"
-require "google/cloud/pubsub/v1/credentials.rb"
+require "google/cloud/pubsub/v1/publisher/credentials.rb"
module Google
module Cloud
module PubSub
##
@@ -36,10 +36,10 @@
# credentials: creds
# )
#
# pubsub.project_id #=> "my-project"
#
- class Credentials < Google::Cloud::PubSub::V1::Credentials
+ class Credentials < Google::Cloud::PubSub::V1::Publisher::Credentials
end
end
Pubsub = PubSub unless const_defined? :Pubsub
end