Sha256: ced38dae69a88ff3954074b33a0cee8ebd1b42e4ad19e08be507b81335bcebf5
Contents?: true
Size: 368 Bytes
Versions: 68
Compression:
Stored size: 368 Bytes
Contents
module ForestLiana module Ability module Fetch def get_permissions(route) response = ForestLiana::ForestApiRequester.get(route) if response.is_a?(Net::HTTPOK) JSON.parse(response.body) else raise ForestLiana::Errors::HTTP403Error.new("Permission could not be retrieved") end end end end end
Version data entries
68 entries across 68 versions & 1 rubygems