Class: Socialmux::AuthMapper::Base
- Inherits:
-
Object
- Object
- Socialmux::AuthMapper::Base
- Defined in:
- lib/socialmux/auth_mapper/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(data) ⇒ Base
Returns a new instance of Base.
19 20 21 |
# File 'lib/socialmux/auth_mapper/base.rb', line 19 def initialize(data) @data = Hashie::Mash.new(data) end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
7 8 9 |
# File 'lib/socialmux/auth_mapper/base.rb', line 7 def data @data end |