Class: Socialmux::AuthMapper::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/socialmux/auth_mapper/base.rb

Direct Known Subclasses

Facebook, GoogleOauth2, GuessName, Linkedin

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#dataObject (readonly)

Returns the value of attribute data.



7
8
9
# File 'lib/socialmux/auth_mapper/base.rb', line 7

def data
  @data
end