Skip to content

Commit

Permalink
General update
Browse files Browse the repository at this point in the history
  • Loading branch information
gregogalante committed Oct 13, 2021
1 parent b520d68 commit a7242bc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
matilda_core (1.1.1)
matilda_core (1.1.2)
bcrypt
evnt
jwt
Expand Down
10 changes: 10 additions & 0 deletions lib/matilda_core/session.rb
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,16 @@ def membership
@membership ||= MatildaCore::Membership.find_by(group_uuid: group_uuid, user_uuid: user_uuid)
end

# Custom

def set(key, value)
@data[key] = value
end

def get(key)
@data[key]
end

######################################################################

protected
Expand Down
2 changes: 1 addition & 1 deletion lib/matilda_core/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module MatildaCore

VERSION = '1.1.1'
VERSION = '1.1.2'

end

0 comments on commit a7242bc

Please sign in to comment.