Class: Houston::Extensions::Oauth::ProviderDsl
- Inherits:
-
Object
- Object
- Houston::Extensions::Oauth::ProviderDsl
- Defined in:
- lib/houston/boot/extensions/oauth.rb
Instance Attribute Summary collapse
-
#provider ⇒ Object
readonly
Returns the value of attribute provider.
Instance Method Summary collapse
- #authorize_path(value) ⇒ Object
-
#initialize(provider) ⇒ ProviderDsl
constructor
A new instance of ProviderDsl.
- #site(value) ⇒ Object
- #token_path(value) ⇒ Object
Constructor Details
#initialize(provider) ⇒ ProviderDsl
Returns a new instance of ProviderDsl.
43 44 45 |
# File 'lib/houston/boot/extensions/oauth.rb', line 43 def initialize(provider) @provider = provider end |
Instance Attribute Details
#provider ⇒ Object (readonly)
Returns the value of attribute provider.
41 42 43 |
# File 'lib/houston/boot/extensions/oauth.rb', line 41 def provider @provider end |
Instance Method Details
#authorize_path(value) ⇒ Object
51 52 53 |
# File 'lib/houston/boot/extensions/oauth.rb', line 51 def (value) provider. = value end |
#site(value) ⇒ Object
47 48 49 |
# File 'lib/houston/boot/extensions/oauth.rb', line 47 def site(value) provider.site = value end |
#token_path(value) ⇒ Object
55 56 57 |
# File 'lib/houston/boot/extensions/oauth.rb', line 55 def token_path(value) provider.token_path = value end |