module QuickbloxApi::Config
Private Instance Methods
application_id()
click to toggle source
# File lib/quickblox_api/config.rb, line 16 def application_id raise(ArgumentError, 'application_id not specified in secrets') unless secrets[:application_id] secrets[:application_id] end
auth_key()
click to toggle source
# File lib/quickblox_api/config.rb, line 21 def auth_key raise(ArgumentError, 'auth_key not specified in secrets') unless secrets[:auth_key] secrets[:auth_key] end
auth_secret()
click to toggle source
# File lib/quickblox_api/config.rb, line 26 def auth_secret raise(ArgumentError, 'auth_secret not specified in secrets') unless secrets[:auth_secret] secrets[:auth_secret] end
config()
click to toggle source
# File lib/quickblox_api/config.rb, line 6 def config { application_id: application_id, auth_key: auth_key, auth_secret: auth_secret, server: server, user_owner_id: user_owner_id } end
server()
click to toggle source
# File lib/quickblox_api/config.rb, line 36 def server secrets[:server] || 'api.quickblox.com' end
user_owner_id()
click to toggle source
# File lib/quickblox_api/config.rb, line 31 def user_owner_id raise(ArgumentError, 'user_owner_id not specified in secrets') unless secrets[:user_owner_id] secrets[:user_owner_id] end