Class: Oauth2::Provider::InMemoryDatasource::MyStruct
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- Oauth2::Provider::InMemoryDatasource::MyStruct
- Defined in:
- lib/oauth2/provider/in_memory_datasource.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(id, attrs) ⇒ MyStruct
constructor
A new instance of MyStruct.
Constructor Details
#initialize(id, attrs) ⇒ MyStruct
Returns a new instance of MyStruct.
13 14 15 16 |
# File 'lib/oauth2/provider/in_memory_datasource.rb', line 13 def initialize(id, attrs) self.id = id super(attrs) end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
11 12 13 |
# File 'lib/oauth2/provider/in_memory_datasource.rb', line 11 def id @id end |