lib/lifen/user.rb in lifen-3.0.0 vs lib/lifen/user.rb in lifen-4.0.0
- old
+ new
@@ -3,11 +3,10 @@
include Virtus.model(finalize: false)
attribute :token, "Lifen::Token"
attribute :status, "Lifen::Status"
attribute :settings, "Lifen::Settings"
- attribute :channels, ["Lifen::Channel"]
attribute :uuid, String
attribute :email, String
attribute :last_name, String
attribute :first_name, String
@@ -98,19 +97,9 @@
end
def client
UserAuthenticatedClient.new(token)
end
-
- # def self.where(params)
- # json = application_client.get("fhir/Practitioner/", params)
-
- # users = []
-
- # users << new(user_json)
-
- # users
- # end
private
def application_client