Sha256: a06feb17967be9d3fc04f23ee3365332a21cb58852248dc0f62b2c5ccd02575d
Contents?: true
Size: 420 Bytes
Versions: 33
Compression:
Stored size: 420 Bytes
Contents
module ForestLiana module Utils class BetaSchemaUtils def self.find_action_from_endpoint(collection_name, endpoint, http_method) collection = ForestLiana.apimap.find { |collection| collection.name.to_s == collection_name } return nil unless collection collection.actions.find { |action| action.endpoint == endpoint && action.http_method == http_method } end end end end
Version data entries
33 entries across 33 versions & 1 rubygems