struct Athena::Mercure::Spec::MockHub
- Athena::Mercure::Spec::MockHub
- Struct
- Value
- Object
Included Modules
Defined in:
spec.crConstructors
Instance Method Summary
- #public_url : String
- #publish(update : AMC::Update) : String
- #token_factory : AMC::TokenFactory::Interface | Nil
- #token_provider : AMC::TokenProvider::Interface
- #url : String
Instance methods inherited from module Athena::Mercure::Hub::Interface
public_url : String
public_url,
publish(update : AMC::Update) : String
publish,
token_factory : AMC::TokenFactory::Interface | Nil
token_factory,
token_provider : AMC::TokenProvider::Interface
token_provider,
url : String
url
Constructor Detail
def self.new(url : String, token_provider : AMC::TokenProvider::Interface, public_url : String | Nil = nil, token_factory : AMC::TokenFactory::Interface | Nil = nil, &publisher : AMC::Update -> String)
#