Class: OAuth2::Storage

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Includes:
Singleton
Defined in:
lib/oauth20/storage.rb

Instance Method Summary collapse

Constructor Details

#initializeStorage

Returns a new instance of Storage.



22
23
24
# File 'lib/oauth20/storage.rb', line 22

def initialize
  @strategy = OAuth2::Storages::Strategy.new
end

Instance Method Details

#strategy=(strategy) ⇒ Object



26
27
28
# File 'lib/oauth20/storage.rb', line 26

def strategy=(strategy)
  @strategy = strategy
end