Class: Himari::Decisions::Claims::Context

Inherits:
Struct
  • Object
show all
Defined in:
lib/himari/decisions/claims.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#authObject

Returns the value of attribute auth

Returns:

  • (Object)

    the current value of auth



10
11
12
# File 'lib/himari/decisions/claims.rb', line 10

def auth
  @auth
end

#requestObject

Returns the value of attribute request

Returns:

  • (Object)

    the current value of request



10
11
12
# File 'lib/himari/decisions/claims.rb', line 10

def request
  @request
end

Instance Method Details

#providerObject



11
# File 'lib/himari/decisions/claims.rb', line 11

def provider; auth[:provider]; end