Class: MySpace::OAuth::Request
- Inherits:
-
OpenID::Extension
- Object
- OpenID::Extension
- MySpace::OAuth::Request
- Defined in:
- lib/myspace/oauth_request.rb
Overview
An object to hold the state of a simple registration request.
Instance Attribute Summary collapse
-
#consumer ⇒ Object
readonly
Returns the value of attribute consumer.
-
#ns_uri ⇒ Object
readonly
Returns the value of attribute ns_uri.
-
#scope ⇒ Object
readonly
Returns the value of attribute scope.
Instance Method Summary collapse
- #get_extension_args ⇒ Object
-
#initialize(consumer, scope) ⇒ Request
constructor
A new instance of Request.
Constructor Details
Instance Attribute Details
#consumer ⇒ Object (readonly)
Returns the value of attribute consumer.
18 19 20 |
# File 'lib/myspace/oauth_request.rb', line 18 def consumer @consumer end |
#ns_uri ⇒ Object (readonly)
Returns the value of attribute ns_uri.
18 19 20 |
# File 'lib/myspace/oauth_request.rb', line 18 def ns_uri @ns_uri end |
#scope ⇒ Object (readonly)
Returns the value of attribute scope.
18 19 20 |
# File 'lib/myspace/oauth_request.rb', line 18 def scope @scope end |
Instance Method Details
#get_extension_args ⇒ Object
28 29 30 31 32 33 34 35 |
# File 'lib/myspace/oauth_request.rb', line 28 def get_extension_args args = {} args['consumer'] = @consumer # args['scope'] = @scope return args end |