Class: HipTail::AuthorityProvider Abstract
- Inherits:
-
Object
- Object
- HipTail::AuthorityProvider
- Defined in:
- lib/hiptail/authority/provider.rb
Overview
This class is abstract.
Direct Known Subclasses
Instance Method Summary collapse
- #[](oauth_id) ⇒ HipTail::Authority
- #[]=(oauth_id, authority) ⇒ HipTail::Authority
- #get(oauth_id) ⇒ HipTail::Authority abstract
- #register(oauth_id, authority) ⇒ HipTail::Authority abstract
- #unregister(oauth_id) ⇒ void abstract
Instance Method Details
#[](oauth_id) ⇒ HipTail::Authority
6 7 8 |
# File 'lib/hiptail/authority/provider.rb', line 6 def [](oauth_id) get(oauth_id) end |
#[]=(oauth_id, authority) ⇒ HipTail::Authority
13 14 15 |
# File 'lib/hiptail/authority/provider.rb', line 13 def []=(oauth_id, ) register(oauth_id, ) end |
#get(oauth_id) ⇒ HipTail::Authority
This method is abstract.
20 21 22 |
# File 'lib/hiptail/authority/provider.rb', line 20 def get(oauth_id) raise end |
#register(oauth_id, authority) ⇒ HipTail::Authority
This method is abstract.
28 29 30 |
# File 'lib/hiptail/authority/provider.rb', line 28 def register(oauth_id, ) raise end |
#unregister(oauth_id) ⇒ void
This method is abstract.
This method returns an undefined value.
35 36 37 |
# File 'lib/hiptail/authority/provider.rb', line 35 def unregister(oauth_id) raise end |