Module: HenshinBelt::AuthMethods
- Defined in:
- lib/henshin_belt/auth_methods.rb
Instance Attribute Summary collapse
-
#me ⇒ Object
Returns the value of attribute me.
-
#resource_credentials ⇒ Object
Returns the value of attribute resource_credentials.
-
#resource_owner ⇒ Object
Returns the value of attribute resource_owner.
-
#resource_token ⇒ Object
Returns the value of attribute resource_token.
Instance Method Summary collapse
-
#protected_endpoint=(protected) ⇒ Object
rubocop:disable Lint/DuplicateMethods.
- #protected_endpoint? ⇒ Boolean
Instance Attribute Details
#me ⇒ Object
Returns the value of attribute me.
5 6 7 |
# File 'lib/henshin_belt/auth_methods.rb', line 5 def me @me end |
#resource_credentials ⇒ Object
Returns the value of attribute resource_credentials.
5 6 7 |
# File 'lib/henshin_belt/auth_methods.rb', line 5 def resource_credentials @resource_credentials end |
#resource_owner ⇒ Object
Returns the value of attribute resource_owner.
5 6 7 |
# File 'lib/henshin_belt/auth_methods.rb', line 5 def resource_owner @resource_owner end |
#resource_token ⇒ Object
Returns the value of attribute resource_token.
5 6 7 |
# File 'lib/henshin_belt/auth_methods.rb', line 5 def resource_token @resource_token end |
Instance Method Details
#protected_endpoint=(protected) ⇒ Object
rubocop:disable Lint/DuplicateMethods
8 9 10 |
# File 'lib/henshin_belt/auth_methods.rb', line 8 def protected_endpoint=(protected) @protected_endpoint = protected end |
#protected_endpoint? ⇒ Boolean
12 13 14 |
# File 'lib/henshin_belt/auth_methods.rb', line 12 def protected_endpoint? @protected_endpoint || false end |