Module: Switchboard::Helpers::OAuthPubSubHelper
- Includes:
- PubSubHelper
- Defined in:
- lib/switchboard/helpers/oauth_pubsub.rb
Instance Attribute Summary collapse
-
#oauth_consumer ⇒ Object
readonly
Returns the value of attribute oauth_consumer.
-
#oauth_token ⇒ Object
readonly
Returns the value of attribute oauth_token.
Attributes included from PubSubHelper
Instance Method Summary collapse
Instance Attribute Details
#oauth_consumer ⇒ Object (readonly)
Returns the value of attribute oauth_consumer.
26 27 28 |
# File 'lib/switchboard/helpers/oauth_pubsub.rb', line 26 def oauth_consumer @oauth_consumer end |
#oauth_token ⇒ Object (readonly)
Returns the value of attribute oauth_token.
26 27 28 |
# File 'lib/switchboard/helpers/oauth_pubsub.rb', line 26 def oauth_token @oauth_token end |
Instance Method Details
#subscriptions(node = nil) ⇒ Object
34 35 36 37 38 39 40 41 |
# File 'lib/switchboard/helpers/oauth_pubsub.rb', line 34 def subscriptions(node = nil) if node # TODO this needs to be implemented in OAuthServiceHelper pubsub.get_subscriptions_from(node) else pubsub.get_subscriptions_from_all_nodes end end |