From 0481932ba63431d7bf3e1a0db47981add5819064 Mon Sep 17 00:00:00 2001 From: Lawrence Yu Date: Tue, 9 Jan 2018 12:30:26 -0800 Subject: [PATCH] Add has many roles relationship to users (#9) * Add has many roles relationship to users * bump version to 0.4.3 --- lib/frederick_api/v2/user.rb | 1 + lib/frederick_api/version.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/frederick_api/v2/user.rb b/lib/frederick_api/v2/user.rb index 26b07b7..b1aeade 100644 --- a/lib/frederick_api/v2/user.rb +++ b/lib/frederick_api/v2/user.rb @@ -4,6 +4,7 @@ module FrederickAPI module V2 # /v2/users class User < Resource + has_many :roles end end end diff --git a/lib/frederick_api/version.rb b/lib/frederick_api/version.rb index 481252d..b42d977 100644 --- a/lib/frederick_api/version.rb +++ b/lib/frederick_api/version.rb @@ -2,5 +2,5 @@ module FrederickAPI # Current gem version - VERSION = '0.4.2' + VERSION = '0.4.3' end