Class: Ffccmmx::Configuration
- Inherits:
-
Object
- Object
- Ffccmmx::Configuration
- Defined in:
- lib/ffccmmx/configuration.rb
Instance Attribute Summary collapse
-
#httpx_options ⇒ Object
Returns the value of attribute httpx_options.
-
#json_key_io ⇒ Object
Returns the value of attribute json_key_io.
-
#scope ⇒ Object
Returns the value of attribute scope.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/ffccmmx/configuration.rb', line 7 def initialize @scope = ["https://www.googleapis.com/auth/firebase.messaging"] # set file path @json_key_io = nil # Or Environment Variable # ENV['GOOGLE_ACCOUNT_TYPE'] = 'service_account' # ENV['GOOGLE_CLIENT_ID'] = '000000000000000000000' # ENV['GOOGLE_CLIENT_EMAIL'] = '[email protected]' # ENV['GOOGLE_PRIVATE_KEY'] = '-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----\n' @httpx_options = nil end |
Instance Attribute Details
#httpx_options ⇒ Object
Returns the value of attribute httpx_options.
5 6 7 |
# File 'lib/ffccmmx/configuration.rb', line 5 def @httpx_options end |
#json_key_io ⇒ Object
Returns the value of attribute json_key_io.
5 6 7 |
# File 'lib/ffccmmx/configuration.rb', line 5 def json_key_io @json_key_io end |
#scope ⇒ Object
Returns the value of attribute scope.
5 6 7 |
# File 'lib/ffccmmx/configuration.rb', line 5 def scope @scope end |