Class: Songkick::OAuth2::Provider::Assertion

Inherits:
Object
  • Object
show all
Defined in:
lib/songkick/oauth2/provider/exchange.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(params) ⇒ Assertion

Returns a new instance of Assertion.


218
219
220
221
# File 'lib/songkick/oauth2/provider/exchange.rb', line 218

def initialize(params)
  @type  = params[ASSERTION_TYPE]
  @value = params[ASSERTION]
end

Instance Attribute Details

#typeObject (readonly)

Returns the value of attribute type


217
218
219
# File 'lib/songkick/oauth2/provider/exchange.rb', line 217

def type
  @type
end

#valueObject (readonly)

Returns the value of attribute value


217
218
219
# File 'lib/songkick/oauth2/provider/exchange.rb', line 217

def value
  @value
end