Skip to content

Amberwudi/agora_services_ruby

Repository files navigation

AgoraServicesRuby

Provide some ruby demos using agora services

Development Environment

Ruby 2.6.3

Usage

Generate the Authorization which will be used in Http Header.

require './cloud_recording/authorization_generator.rb'

customer_id = 'customer_id'
customer_certificate = 'customer_certificate'
AuthorizationGenerator.new.generate_authorization(customer_id, customer_certificate) # Authorization in Http Header

Check the signature which was added in Http Header.

require './message_notification_service/signature_checker.rb'

signature = 'signature'
request_body = 'request_body'
SignatureChecker.new.check_signature(signature, request_body) # true or false

About

Provide some ruby demos using agora services

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages