Skip to content

Commit

Permalink
Fix bug in memory_param_storage
Browse files Browse the repository at this point in the history
  • Loading branch information
CognitiveDisson committed Feb 21, 2018
1 parent b2b87a9 commit 9ab8457
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/fabricio/authorization/memory_param_storage.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class MemoryParamStorage < AbstractParamStorage
#
# @return [Fabricio::Authorization::ParamStorage]
def initialize
@params = nil
@params = {}
end

# Returns all stored variable
Expand All @@ -28,7 +28,7 @@ def store(hash)

# Resets current state and deletes all saved params
def reset
@params = nil
@params = {}
end

def organization_id
Expand Down

0 comments on commit 9ab8457

Please sign in to comment.