Skip to content

Latest commit

 

History

History
21 lines (19 loc) · 517 Bytes

README.md

File metadata and controls

21 lines (19 loc) · 517 Bytes

Stupid overview

Library to generate secure tokens for Akamai Live streaming service.

Stupid example

streaming = AkamaiStreaming.new(:key => 'your key in hexademical format')
streaming.encrypted_token

Stupid Testing

describe Stream do
  it_behaves_like "a akamai token generator" do
    let(:params){ Hash.new } #all your test params
    let(:generated_token){ streaming.encrypted_token } #pass method invoking token generator for comparising
  end
end