Sha256: 114a2e66afecf2b8c226e58c2d5e9e3c91b09999a0e2ca80e9fab78204dad7d2

Contents?: true

Size: 584 Bytes

Versions: 26

Compression:

Stored size: 584 Bytes

Contents

module Fog
  module Google
    class Pubsub
      class Real
        include Fog::Google::Shared

        attr_accessor :client
        attr_reader :pubsub

        def initialize(options)
          shared_initialize(options[:google_project], GOOGLE_PUBSUB_API_VERSION, GOOGLE_PUBSUB_BASE_URL)
          options[:google_api_scope_url] = GOOGLE_PUBSUB_API_SCOPE_URLS.join(" ")

          @client = initialize_google_client(options)
          @pubsub = ::Google::Apis::PubsubV1::PubsubService.new
          apply_client_options(@pubsub, options)
        end
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
fog-google-1.10.0 lib/fog/google/pubsub/real.rb
fog-google-1.9.1 lib/fog/google/pubsub/real.rb
fog-google-1.9.0 lib/fog/google/pubsub/real.rb
fog-google-1.8.2 lib/fog/google/pubsub/real.rb
fog-google-1.8.1 lib/fog/google/pubsub/real.rb
fog-google-1.8.0 lib/fog/google/pubsub/real.rb