class Avo::Licensing::LicenseManager
def initialize(hq_response)
def initialize(hq_response) @hq_response = hq_response end
def license
def license case @hq_response["id"] when "community" CommunityLicense.new @hq_response when "pro" ProLicense.new @hq_response else NullLicense.new @hq_response end end