Class: Arrthorizer::ContextBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/arrthorizer/context_builder.rb

Direct Known Subclasses

Rails::ControllerContextBuilder

Instance Method Summary collapse

Instance Method Details

#buildObject



3
4
5
# File 'lib/arrthorizer/context_builder.rb', line 3

def build
  Arrthorizer::Context.new
end

#build_from_hash(hash) ⇒ Object



7
8
9
# File 'lib/arrthorizer/context_builder.rb', line 7

def build_from_hash(hash)
  Arrthorizer::Context(hash)
end