module G5FoundationClient::FindableByUid

Public Instance Methods

find_by_uid(uid) click to toggle source
# File lib/g5_foundation_client/models/findable_by_uid.rb, line 2
def find_by_uid(uid)
  G5FoundationClient::Fetcher.fetch_url(uid) do |json|
    new(ActiveSupport::HashWithIndifferentAccess.new(JSON.parse(json)))
  end
end