Module: GoogleSubscriber::Configuration
- Included in:
- GRPC, GoogleSubscriber
- Defined in:
- lib/google_subscriber/configuration.rb
Instance Attribute Summary collapse
-
#google_credentials ⇒ Object
Returns the value of attribute google_credentials.
-
#google_project_id ⇒ Object
Returns the value of attribute google_project_id.
-
#logger ⇒ Object
Returns the logger You can define the logger when you configure
GoogleSubscriberif you want to use a different logger than the default Ruby Logger. -
#subscription_listen_args ⇒ Object
Returns the value of attribute subscription_listen_args.
Instance Attribute Details
#google_credentials ⇒ Object
Returns the value of attribute google_credentials.
6 7 8 |
# File 'lib/google_subscriber/configuration.rb', line 6 def google_credentials @google_credentials end |
#google_project_id ⇒ Object
Returns the value of attribute google_project_id.
6 7 8 |
# File 'lib/google_subscriber/configuration.rb', line 6 def google_project_id @google_project_id end |
#logger ⇒ Object
Returns the logger You can define the logger when you configure GoogleSubscriber if you want to use a different logger than the default Ruby Logger.
12 13 14 |
# File 'lib/google_subscriber/configuration.rb', line 12 def logger @logger ||= ::Logger.new(STDOUT) end |
#subscription_listen_args ⇒ Object
Returns the value of attribute subscription_listen_args.
6 7 8 |
# File 'lib/google_subscriber/configuration.rb', line 6 def subscription_listen_args @subscription_listen_args end |